|ANTLR/JavaCC Java 1.5 grammar firstname.lastname@example.org (=?ISO-8859-15?Q?Andreas_H=F6fer?=) (2006-03-29)|
|Date:||29 Mar 2006 18:52:08 -0500|
|Organization:||University of Karlsruhe, Germany|
|Keywords:||Java, PCCTS, question|
|Posted-Date:||29 Mar 2006 18:52:08 EST|
Does anyone know a Java 1.5 grammar for
a) ANTLR, which generates AST-Nodes that have start and end-lines
b) A error free grammar for JavaCC, which creates the AST and a Visitor.
I've tried the JDK1_5grammar & AST and Java1.5.zip from the javacc
but ran into problems with both. The first grammar generates a
JavaParser, that calls methods like SimpleNode.addSpecial(..), which do
not exist in the generated code, the second is obviously not made for
Any help would be appreciated. Thanks.
Return to the
Search the comp.compilers archives again.