On Sat, Sep 12, 2015 at 7:41 PM, Hayden Livingston <halivings...@gmail.com>
wrote:

> Thanks for all replies, going to be a fun weekend reading up on all of
> them.


Any PEG parser with good support for semantic actions should be capable of
parsing C++. In particular, with the ambiguities in the C++ grammar, it is
important that the semantics may fail the current parse so other options
are tried.

Grako (Python) was mentioned. In its design, for readability and for
leveraging the complete power of the underlying programming language and
it's libraries, the semantic actions are separate from the grammar, if
methods with the same name as the rule they apply to.

Grako 6.3.4 was released yesterday.

Cheers,

-- 
Juancarlo *Añez*
_______________________________________________
PEG mailing list
PEG@lists.csail.mit.edu
https://lists.csail.mit.edu/mailman/listinfo/peg

Reply via email to