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: [email protected] [mailto:[email protected]] On Behalf Of Heiko Folkerts Sent: Wednesday, November 18, 2009 4:20 AM To: [email protected] 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:[email protected] 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 List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=.
