[3905] in Software_Announce

home help back first fref pref prev next nref lref last post

ANTLR, antlrworks on Athena updated to 3.4

daemon@ATHENA.MIT.EDU (Alex T Prengel)
Mon Nov 19 18:54:32 2012

From: Alex T Prengel <alexp@MIT.EDU>
To: software-announce@mit.edu
Cc: alexp@mit.edu, cfyi@mit.edu
Date: Mon, 19 Nov 2012 18:54:18 -0500

I've updated ANTLR and antlrworks on Athena to 3.4. ANTLR (ANother Tool
for Language Recognition). is a language tool for constructing
recognizers, interpreters, compilers and translators from grammatical
descriptions containing actions in a variety of target languages (Java
and C are currently supported on Athena). ANTLRWorks is an IDE and
debugger for ANTLR.

To run ANTLR:

 add antlr
 antlr <options> file.g 

(to generate lexer and parser java code from ANTLR source file file.g)

 ajavac Test.java fileLexer.java fileParser.java

(to compile a main java program, the generated lexer and parser)

ajava Test

(to run the compiled code)

To run antlrworks:

add antlr
antlrworks

See http://web.mit.edu/antlr_v3.4/README.athena for other information
and links to documentation.

                                            Alex


home help back first fref pref prev next nref lref last post