[antlr-interest] can a tree grammar and the ANTLR toolkit be used to write genrative libraries

aaanwar aaanwar at yahoo.com
Thu Apr 24 17:20:23 PDT 2003


Greetings,

This is a refinement of an earlier question:

What I really want to be abel to do is programatically generate code 
in say java.

So I would like to do something like.

CompilationUnit cu = new CompilationUnit();
cu.addClass("HelloWorld")
  .addMethod( "main", PUBLIC | STATIC | , VOID);

and so forth ...

Arman.



 

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




More information about the antlr-interest mailing list