Demonstrating the PanPG API, v0.0.8.
We load a PEG from a file, generate a parser, eval it, use it, display the parse tree, and walk the tree to calculate a result. You can edit the grammar, the parser generator options, the input text, and the tree walker callbacks.
The grammar here doesn't require it, but PanPG has full Unicode support, including characters outside the BMP.
There's also an an ECMAScript parser demo and a JavaScript AST demo.
permalink (captures current state of input fields below)