[4033] in Software_Announce

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

ANTLR on Athena updated to 4.2

daemon@ATHENA.MIT.EDU (Alex T Prengel)
Mon Mar 3 15:16:43 2014

From: Alex T Prengel <alexp@MIT.EDU>
To: software-announce@mit.edu
Cc: alexp@mit.edu, cfyi@mit.edu
Date: Mon, 03 Mar 2014 15:16:30 -0500

I've updated ANTLR on Athena to 4.2 (and the ANTLR IDE Antlrworks to
2.1). ANTLR is a language tool for constructing recognizers,
interpreters, compilers and translators from grammatical descriptions
containing actions in a variety of target languages (in the latest
release Java is currently the only available target).

To run ANTLR:

add antlr
antlr4 <options> file.g4 (to generate lexer and parser Java code)
grun file r <options> (to test compiled executable file)

To run Antlrworks:

add antlr
antlrworks2 &

Please see http://web.mit.edu/antlr_v4.2/README.athena for links to
documentation and additional information.

                                                  Alex




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