<div dir="ltr"><div><div>The examples directory shows different grammars, from JSON to XML to C to D.<br><br>I used it with the D grammar, but the one on the website is woefully inadequate (some mistakes, out of date compared to the compiler and written in a somewhat convoluted style full of left-recursion). The shortcomings are that the generated parser is quite slow compared to other D parsers.<br>
<br></div>That comes from my coding, of course: Pegged generates a simple recursive descent parser. I guess I could push for a better engine, but I'm waiting for CTFE to get a bit better.<br><br></div>The advantages are nice, though: full parse tree, semantic actions, and so on.<br>
</div>