On Wednesday, 20 March 2019 at 17:22:07 UTC, Robert Schadek wrote: > https://code.dlang.org/packages/darser > > https://github.com/burner/Darser Have you had a look at fancypars? if not you might want to look at the lexer_generation of it. And the way it represents the grammar.