Kevin J. Cummings cummings at kjchome.homeip.net
Sat Jul 11 18:40:36 PDT 2009

Granville Barnett wrote:
> Hi,
> I've not got any experience using ANTLR to parse C++, however, you will 
> find that there only exists a C code generator for ANTLR and NOT a C++ 
> one. Over the years numerous people have requested a C++ code generation 
> template but alas there is still only a C one. Just a heads up.

ANTLR v3 yes, but ANTLR 2.7.7 supports C++ code generation directly.
You just don't get all the nifty features and support tools that are 
written for v3.

> Granville

Kevin J. Cummings
kjchome at rcn.com
cummings at kjchome.homeip.net
cummings at kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)

More information about the llvm-dev mailing list