Replies: 1 comment 2 replies
-
@cdietrich The workaround you've outlined is probably the way to go. Unfortunately, the Chevrotain lexer <-> Langium Lexer/TokenBuilder interaction experience isn't perfect yet, as Langium tries to infer a lot of information from the grammar (such as Any contribution to make this easier is appreciated :) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi, is there a way to achive something similar like an terminal ANY_OTHER: .; token would do in Xtext (en- and disabled via lexer modes).
defining that in the grammar seems no to work as chevrotain seems to prefer it over other terminals and keywords.
the only workaround i have found is:
Beta Was this translation helpful? Give feedback.
All reactions