C++ parser

Dicebot m.strashun at gmail.com
Wed May 22 14:07:37 PDT 2013


On Wednesday, 22 May 2013 at 20:39:08 UTC, 1100110 wrote:
> Hmmm... Or you could try using pegged (or CTPG or goldie or 
> dparser).
>
> I haven't played with it too much, but there's a C grammar, and 
> it
> mentions the ability to specify semantic actions, so.... That's 
> like 1/3
> of the way to something usable.
>
> https://github.com/PhilippeSigaud/Pegged/wiki/Semantic-Actions

Writing C++ grammar parser in Pegged/Goldie from scratch so that 
it can produce usable AST... Well, good luck! :)


More information about the Digitalmars-d mailing list