Skip to content

Term api and io world#38

Merged
abdoo8080 merged 6 commits intoabdoo8080:mainfrom
anzenlang:term_api_and_ioWorld
Apr 2, 2026
Merged

Term api and io world#38
abdoo8080 merged 6 commits intoabdoo8080:mainfrom
anzenlang:term_api_and_ioWorld

Conversation

@AdrienChampion
Copy link
Copy Markdown
Collaborator

  • remove the obsolete (void) ioWorld argument in FFI (see here and here): simplifies the env-catch-macro and env/error-handling in general

  • add all Term features from the C++ API except toStringValue, which requires some discussion because lean strings support unicode

    also, some Term functions were modified to account for errors, usually on null terms: mainly

    • getNumChildren, which now produces 0 on null
    • getSort, getKind, and getId now produce Except Error _ results (with ! and ? variants) to deal with null terms
  • add all Term unit tests except toStringValue-related tests

  • improve test syntax extensions slightly

@abdoo8080 abdoo8080 merged commit 7d1894b into abdoo8080:main Apr 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants