runantlr1
Another tool for language recognition
Usage
java antlr.Tool
or
runantlr
["args"]
file.g
Overview
ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions.
-
-o outputDir -
specify output directory where all output generated.
-
-glib superGrammar -
specify location of supergrammar file.
-
-debug -
launch the ParseView debugger upon parser invocation.
-
-html -
generate an html file from your grammar (minus actions).
-
-diagnostic -
generate a textfile with diagnostics.
-
-trace -
have all rules call traceIn/traceOut.
-
-traceParser -
have parser rules call traceIn/traceOut.
-
-traceLexer -
have lexer rules call traceIn/traceOut.
-
-traceTreeParser -
have tree parser rules call traceIn/traceOut.
Releases
Unchanged in 11 releases since Debian 3.1 (Sarge).