Skip to content
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

LSP #30

Open
jparoz opened this issue Feb 25, 2023 · 0 comments
Open

LSP #30

jparoz opened this issue Feb 25, 2023 · 0 comments
Labels
feature Adds a new feature to the language.
Milestone

Comments

@jparoz
Copy link
Owner

jparoz commented Feb 25, 2023

Is this out of scope for the compiler? Should it be a separate project which uses huck as a Rust library?

For this, we'll need to cache the type of every single ast node, so that we can find out exactly the type of any expression, regardless of where it appears, or whether it's named or not. To support this, we probably want to change most ast nodes to be {} structs and variants, because tuple structs will be obnoxious to use with a () argument everywhere.

@jparoz jparoz added the feature Adds a new feature to the language. label Feb 25, 2023
@jparoz jparoz added this to the 0.10.0 milestone Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adds a new feature to the language.
Projects
Status: Todo
Development

No branches or pull requests

1 participant