Categories
|
opensource software
Grammar-KitProducts: IntelliJ IDEA Vendor: Gregory Shrago Email: Website: https://github.com/JetBrains/Grammar-Kit SourceCode: https://github.com/JetBrains/Grammar-Kit License: http://www.apache.org/licenses/LICENSE-2.0 Description:
Edit, manipulate, analyze BNF grammars and generate readable parser/PSI code
Full documentation URL:
https://github.com/JetBrains/Grammar-Kit
7 updates are hidden
show all updates
Recent change notes:1.1.1
1.1.0
1.0.9
1.0.8
General usage instructions:1. Create grammar *.bnf file, see Grammar.bnf in the plugin code. 2. Generate parser/ElementTypes/PSI classes (Ctrl-Shift-G) 3. Add lexer, parser definition & plugin.xml 4. Mix-in resolve and other non-trivial functionality to PSI 5. Tune the grammar, regenerate code. Repeat if needed. You've just build a custom language plugin (Approx. 1 day) |
|||||||||||||||||||||||||||||||||||||||||||||||||
Comments:
The generator accepts left-recursive rules, which do not make sense in PEG parsers (afaik). Is it possible to highlight this type of rules in the .bnf editor?