Replies: 1 comment
-
Hey @dmarhas, the language server initialization fails due to a probably unwanted side effect of your terminal: This terminal effectively tokenizes all input that isn't either You probably have a slight misconception of how LL parsers work. The tokenization phase is not context dependent, meaning that it won't start reading the To see how a chevrotain/Langium based lexer for XML should work, please take a look here. |
Beta Was this translation helpful? Give feedback.
-
I am trying to create an XML parser with Langium but not able to define the terminal rule:
terminal TEXT: /[^<&]+/;
Are there any workarounds?
Beta Was this translation helpful? Give feedback.
All reactions