[antlr-interest] ANTLR installation

Gavin Lambert antlr at mirality.co.nz
Tue Feb 10 01:43:08 PST 2009


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.)



More information about the antlr-interest mailing list