ANTLR(3) ANother Tool for Language Recognition, version 3


java org.antlr.Tool or antlr3 [args] file.g [ file2.g file3.g ...]


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.
-fo outputDir
same as -o but force even files with relative paths to dir.
-lib dir
specify location of token files.
generate file dependencies.
print out a report about the grammar(s) processed.
print out the grammar without actions.
generate a parser that emits debugging events.
generate a parser that computes profiling information.
generate an NFA for each rule.
generate a DFA for each decision point.
-message-format name
specify output style for messages.
generate ANTLR version and other information.
only build if generated files older than grammar.
print the version of ANTLR and exit.
display extended argument list.


This manual page was written by Ludovic Claude <[email protected]>