[antlr-interest] Can the C Target be used with String template?
sharwell at pixelminegames.com
Wed Nov 18 07:49:59 PST 2009
StringTemplate relies *heavily* on the reflection abilities and runtime type information of Java. For that reason, I was able to make a C# port of it where similar features are available, but it's been pretty conclusively established that there won't be a C/C++ version of it.
From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-bounces at antlr.org] On Behalf Of Heiko Folkerts
Sent: Wednesday, November 18, 2009 4:20 AM
To: antlr-interest at antlr.org
Subject: [antlr-interest] Can the C Target be used with String template?
I'd like to write a translator as explained in the ANTLR book using the String Template Library. When I try to run antlr I get an error that the file "ST.stg" was not found. Changing the target language to jave e.g. results in other errors which propably come from erros in my grammar.
So, can the C Target be used together with the String template library?
If not, are there alternatives beside print statements?
Mit freundlichem Gruß
Systementwicklung und -design
DAVID GmbH · Wendenring 1 · 38114 Braunschweig
Tel.: +49 531 24379-14
Fax.: +49 531 24379-79
E-Mail: mailto:Heiko.Folkerts at david-bs.de
Eintragung: Amtsgericht Braunschweig, HRB 3167
Geschäftsführer: Frank Ptok
More information about the antlr-interest