[antlr-interest] generating C - error message

Gavin Lambert antlr at mirality.co.nz
Fri Mar 7 00:17:06 PST 2008


At 11:29 7/03/2008, Scott Petler wrote:
 >I want to try and generate C rather than C++, but when I change
 >the Language target I get an error message about a missing code
 >generator.

That's because ANTLR v2 (which you appear to be using) doesn't 
have a C language target -- only a C++ one.  If you want C you'll 
need to use ANTLR v3 instead (where the reverse is true).



More information about the antlr-interest mailing list