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

Add support for semantic labelling of grammar #9

Open
flip111 opened this issue Sep 23, 2022 · 1 comment
Open

Add support for semantic labelling of grammar #9

flip111 opened this issue Sep 23, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@flip111
Copy link

flip111 commented Sep 23, 2022

Would be cool if the grammar supported semantic labels, there is quite a few things you can do with that. Such as

https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#textDocument_semanticTokens

Additionally labels for entry/exit and open/closed for variables can be useful to do something with data flow. See paper for more details

https://www.microsoft.com/en-us/research/wp-content/uploads/2016/07/hoopl-haskell10.pdf

@jzimmerman jzimmerman added the enhancement New feature or request label Sep 23, 2022
@jzimmerman
Copy link
Owner

Agree, this would be a cool feature - assigning lower priority for now, as I want to make sure people can get the basic functionality running successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants