[antlr-interest] should I be able to use language=CPP in latest intermediate ANTLR build?

Jim Idle jimi at temporal-wave.com
Wed Mar 12 13:49:15 PDT 2008


No. Use language=C and then compile the resulting C code as C++ with the relevant option on your compiler. You can then embedded C++ directly in your action code. There may be a few quirks with this just yet as people have just started testing it, so by all means let me know if you find any errors with this.

 

Jim

 

From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-bounces at antlr.org] On Behalf Of Chris Snyder
Sent: Wednesday, March 12, 2008 12:47 PM
To: antlr-interest at antlr.org
Subject: [antlr-interest] should I be able to use language=CPP in latest intermediate ANTLR build?

 

Should I be able to use language=CPP with the latest intermediate ANTLR build antlr-2008-02-27.17.jar?

 

I'm seeing these errors when I try:

 

error(10):  internal error: no such group file CPP.stg

error(20):  cannot find code generation templates CPP.stg

 

Thanks,

Chris

 

 

T-VEC Technologies, Inc.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080312/774dc59e/attachment-0001.html 


More information about the antlr-interest mailing list