
Motivation


I decided that investing time into writing my own parser generator might be a good idea, considering the experience I gathered from writing languages without one.
So here it is, a parser generator for context-free grammars, with nested lookaheads, specializations for tokens (e.g. for keywords) and other things.

Some features


- Clean and actually debugable C# parser output
- Properly specified input language (with self-defining grammar)
- Includes a few example grammars
- Deployment of the generated parsers is trivial
- Usage of the generated parsers is made comfortable by a clear distinction between rule instances and tokens, and typing according to the grammar being represented by enums in the output nodes
- Token images, line and char numbers are all available for use


