Parsing Expression Grammar
- Do you plan on writing a compiler, interpreter, or domain specific language?
- Do you need to read a complex file format or protocol?
- Do you need the abstract syntax tree in multiple languages: C, C++, C#, Java, PHP, or Javascript?
Our Parsing Expression Grammar IDE and PEG framework running natively in target language provides solutions to all these problems.
We designed the IDE with test driven development in mind. Every production rule, terminal/non terminal, can be unit tested with various inputs. Each unit test can describe expected exception, warnings, and AST format.
By enabling a test driven development IDE for a parsing IDE allows complex parsers to be well tested and be incrementally built much more rapidly.
Target Language Unit Tests
Since our offering is an ability to target various languages of choice, the unit test screenshots below verify our targeting capabilities.
PEG - C Language Writer
PEG - C++ Language Writer
PEG - C# Language Writer
PEG - Java Language Writer
Free Project Examples
- English Grammar
- Boolean Algebra Grammar
- Math Grammar