Not entirely sure what you mean by "run it" Gavin.  The problem we're having is 
not generating the lexer and parser code from ANTLRWorks but compiling it and 
running it.
I tried something like:
 javac Test.java ExprLexer.java ExprParser.java
and instead of getting compiled classes and a runable system I got 100 errors 
pretty much all of the "cannot find symbol" type which implies to me that I 
don't have the library set up
and I'm not sure how to do that.  

Does that clarify my problem?

Regards, Ray
--
Ray Schneider,PE, Ph.D
Associate Professor
Math and Computer Science
Bridgewater College
http://www.bridgewater.edu/~rschneid/
http://theweedlessgarden.blogspot.com
________________________________________
From: Gavin Lambert [[email protected]]
Sent: Tuesday, February 10, 2009 04:43
To: Raymond J. Schneider; [email protected]
Subject: Re: [antlr-interest] ANTLR installation

At 15:28 10/02/2009, Raymond J. Schneider wrote:
 >Is there a clear up to date installation document that walks
 >through the whole installation with some confirmatory checks at
the
 >end?
 >The biggest issue seems to be setting the CLASSPATH correctly
and
 >getting parsers to run outside of the ANTLRWorks environment.

The easiest way to run it (given that you already have ANTLRWorks)
is like this:

java -cp path\to\antlrworks-1.x.jar org.antlr.Tool Foo.g

(And yes, you need to name the .jar file in the classpath.  It's
not sufficient to name the folder where the .jar file sits.)


List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to