[antlr-interest] Java AST Grammar

Adam Cooney ad_cooney at hotmail.com
Tue Feb 12 09:23:15 PST 2008


Hi,
I'm rather new to ANTLR and require a java AST grammar which will end up taking a Java file as an input and creating the AST for the Java code. So far I have only found a normal Java 5 grammar but without AST compatability and was wondering if anyone had a Java AST grammar or could direct me to some information about  altering the grammar to output an AST.
 
ps http://www.antlr.org/grammar/1152141644268/Java.g Is the Java grammar I downloaded, I tried some other ones but they were outdated and did not work in antlr 3.
Thanks
Adam
_________________________________________________________________
Telly addicts unite!
http://www.searchgamesbox.com/tvtown.shtml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080212/70b0053d/attachment-0001.html 


More information about the antlr-interest mailing list