-
Notifications
You must be signed in to change notification settings - Fork 164
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
Generate syntax highlighters #422
Comments
There is the |
Hi @andreasabel. Interesting, does the reimplementation significantly depart from or augment the LBNF language as specified in the docs? I was thinking about this a bit more today and realized you would need some additional metadata to ascribe syntactic categories to productions. |
The reimplementation aims at being conservative in the first step, meaning, backwards-compatible. So the LBNF language stays the same. |
I was also curious about this in the context of generating VSCode grammars (which use TextMate grammars, as detailed here). Though if you are planning on writing an LSP, you may be able to have your LSP process emit semantic highlighting information. |
Hi there. I was wondering if it would be considered part of the scope of this project to deal with syntax highlighting in a language agnostic way. For example, would it make sense to generate a TextMate grammar (or something akin to it)?
The text was updated successfully, but these errors were encountered: