[stringtemplate-interest] How to redirect StringTemplate output from within tree grammar

Eric Jungkurth ejungkurth at yahoo.com
Tue Oct 23 09:23:05 PDT 2007


This is both an ANTLR and StringTemplate question.
   
  I have a model that I parse and pass to a tree grammar. I want the tree grammar to output Java classes using StringTemplate. However, I'm confused about how to redirect the output into individual Java files.
   
  So, the question is, how do I redirect my StringTemplate output from within my tree grammar? I think I could hack something, but I'm hoping there's an elegant solution that I haven't found yet.
   
   
  Thanks,
   
  Eric

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20071023/03ed1e67/attachment.html 


More information about the stringtemplate-interest mailing list