JetBrains IntelliJ IDEA plugin which adds BNF (Backus-Naur Form) Grammars and JFlex files editing support including parser/PSI code generator
Questions tagged [grammar-kit]
31 questions
0
votes
2 answers
Avoiding left recursion in parsing LiveScript object definitions
I'm working on a parser for LiveScript language, and am having trouble with parsing both object property definition forms — key: value and (+|-)key — together. For example:
prop: "val"
+boolProp
-boolProp
prop2: val2
I have the key: value form…

Modus Operandi
- 552
- 1
- 6
- 24