[antlr-interest] Code generation for Java-to-Java

Anakreon anakreonmejdi at yahoo.gr
Sat Oct 9 12:34:25 PDT 2004


 --- olafschwarz78 <olafschwarz78 at yahoo.com> έγραψε: 
> 
> 
> 
> Hi!
> I have to develop a Java-to-Java Compiler which will
> make some 
> modifications to the generated AST.
> 
> Does anybody know a tree walker generating Java code
> from the ASTs 
> Micheal Studman's java15.g creates? A similar
> grammar would of 
> course also be OK.
> 
> Unfortunately the topic of code creation is very
> rarely covered in 
> the documentation material I found. So I am quite
> unsure about the 
> best way to build such a code generator by myself.
> If this is really 
> necessary I would be glad if you could point me to a
> good source to 
> read up on this.
> 
> Thank you in advance
> Olaf
> 
Hello.
An example of what you want can be found at:
http://storm.cs.unipi.gr/~anakreon/aspa.html
In the grama directory you will find the files:
produces_*
The act files contain the action code.
Anakreon

____________________________________________________________
Do You Yahoo!?
Αποκτήστε τη δωρεάν @yahoo.gr διεύθυνση σας στο http://www.otenet.gr


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list