[antlr-interest] Can the C Target be used with String template?

Sam Harwell 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.

Sam

-----Original Message-----
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?

Hi,
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?
Regards
Heiko


Mit freundlichem Gruß
Heiko Folkerts
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
WWW:   http://www.david-bs.de 
Eintragung: Amtsgericht Braunschweig, HRB 3167
Geschäftsführer: Frank Ptok
______________________________________________

 

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address


More information about the antlr-interest mailing list