Skip to content

Add type inference #1652

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 70 commits into
base: main
Choose a base branch
from
Draft

Add type inference #1652

wants to merge 70 commits into from

Conversation

EagleoutIce
Copy link
Member

No description provided.

loki259 and others added 30 commits April 5, 2025 23:56
and in-place ast mapping/type decoration
loki259 and others added 12 commits June 1, 2025 12:56
* feat(cli): add repl command for extracting inferred types from ast nodes

* feat(query-api): implement 'datatype' query

* refactor(repl): remove datatype repl command in favor of related query

* feat(query-api): make criterion in datatype query optional

* refactor(query-api): simplify datatype query implementation

* doc(datatype-query): add to wiki

* refactor(query): supply flatting op

* doc(query): bum pquery api wiki

---------

Co-authored-by: Florian Sihler <[email protected]>
`Any` and `Never` are incompatible with the current unification-based approach of the type inference system and will be reintroduced for implementing a system with support for subtyping in the future.
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