langcc icon indicating copy to clipboard operation
langcc copied to clipboard

Add support for semantic labelling of grammar

Open flip111 opened this issue 3 years ago • 1 comments

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

flip111 avatar Sep 23 '22 18:09 flip111

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.

jzimmerman avatar Sep 23 '22 18:09 jzimmerman