this project had move to https://github.com/The-LALR-parser-generator-LPG/LPG-VScode.
The extension for LPG support in Visual Studio code.
- Syntax coloring for LPG grammars (.lpg .g and .gi files)
- Comes with an own beautiful color theme, which not only includes all the recommended groups, but also some special rules for grammar elements that you won't find in other themes (e.g. alt labels and options). They are, immodestly, named
Complete Dark
andComplete Light
.
- Code suggestions for all rule + optioins , etc. (including built-in ones).
- Symbol type + location are shown on mouse hover. Navigate to any symbol with Ctrl/Cmd + Click. This works even for nested grammars.
- In the background syntax checking takes place, while typing. Also some semantic checks are done.
- Call graph for LPG grammars
- Terminal and non-terminal railroad graph for LPG grammars
- First set and follow set for LPG grammars
There are a number of documentation files for specific topics:
- It's the beta version.
See the Git issue tracker.
Bug fixing and what feels appealing to hack on.