ANTLRWorks on the Mac
Mathias Ricken
mgricken at rice.edu
Tue Nov 18 10:25:43 PST 2008
Hi everyone:
I just started to experiment with the OpenJDK Compiler Grammar project
and ANTLRWorks on my MacBook.
I have SoyLatte installed, and I can build javac from the Compiler
Grammar using the ant -f make/build.xml command line. However, when I
open the grammar in ANTLRWorks and try to follow the "Using ANTLRWorks
with Java.g" tutorial, I get an error in the console:
[12:18:19] Checking Grammar...
[12:20:31] /Users/mgricken/Documents/Research/Mint/compiler-grammar/langtools/src/share/classes/com/sun/tools/javac/antlr/output/JavaParser.java:158:
cannot find symbol
[12:20:31] symbol: class DebugAntlrJavacParser
[12:20:31] public class JavaParser extends DebugAntlrJavacParser {
[12:20:31] ^
And after that, of course, everything goes wrong (100 errors).
I have provided a path to SoyLatte as compiler in the
Preferences/Compiler tab, but I'm not sure what I need to set as
classpath.
Can anyone help me out? Thanks in advance.
Mathias Ricken
More information about the compiler-grammar-dev
mailing list