[stringtemplate-interest] Standard way to generate Java/C++ from Stringtemplate (Java version)?
Terence Parr
parrt at cs.usfca.edu
Wed Oct 25 09:52:09 PDT 2006
On Oct 24, 2006, at 2:12 PM, Dennis wrote:
> Hello altogether!
>
> In my project I was about to generate code the "old fashioned way"
> using
> string concatenation when I stumbled across Stringtemplate. I read the
> docs and the posts from Eric and Oliver (
> http://www.antlr.org:8080/pipermail/stringtemplate-interest/2005-
> October/000133.html
> ).
>
> I guess I am looking - like Eric - for some way to represent the Java
> code in an object oriented way and then pass this to Stringtemplate to
> emit code.
Java reflection objects work great. I used it to generate XML and
also back to Java:
http://www.codegeneration.net/tiki-read_article.php?articleId=65
Ter
> I was wondering whether there is some standard way to do this
> with Stringtemplate or if other users have already implemented such a
> class hierarchy for Java and/or C++?
>
> It would be nice if you could give me some hints or remarks on how to
> solve my problem efficient!
>
> Thanks, Dennis
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org:8080/mailman/listinfo/stringtemplate-interest
More information about the stringtemplate-interest
mailing list