Replies: 1 comment 5 replies
-
Currently the only way is to create a clone of the grammar, change the entry rule, and derive a new LangiumServices from that. We could look into adding an optional parameter to the parser's |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, is there a way to parse a string into a ast/document with a subrule?
constructing a on the fly grammar with.
createServicesForGrammar seems to work but also to be tedious when you need to merge with the original grammar
Beta Was this translation helpful? Give feedback.
All reactions