First parameter, NAME, should be all caps
Second parameter, SECTION, should be 1-8, maybe w/ subsection
other parameters are allowed: see man(7), man(1)
(The comments found at the beginning of the groff file "man1/antlr3.1".)
ANTLR - ANother Tool for Language Recognition, version 3
[ file2.g file3.g
ANTLR (ANother Tool for Language Recognition) is a parser generator
for reading, processing, executing, or translating structured text
or binary files. It's widely used to build languages, tools, and
frameworks. From a grammar, ANTLR generates a parser that can build
and walk parse trees.
- -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 a recognizer that traces rule entry/exit.
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.
- -language L
override language grammar option; generate L
display the list of extended arguments
print the grammar AST
print DFA as text
test lookahead against EBNF block exit branches
collapse incident edges into DFA states
dump lots of info during NFA conversion
use to restrict NFA conversion exponentiality
run the analysis in 2 threads
do not merge stop states
generate DFA states in DOT with NFA configs
print a message for each NFA before converting
put tags at start/stop of all templates in output
for nondeterminisms, list NFA states for each path
- -Xm m
max number of rule invocations during conversion 
- -Xmaxdfaedges m
max "comfortable" number of edges for single DFA state 
- -Xmaxinlinedfastates m
max DFA states before table used rather than inlining 
- -Xmaxswitchcaselabels m
don't generate switch() statements for dfas bigger than m 
- -Xminswitchalts m
don't generate switch() statements for dfas smaller than m 
don't delete temporary lexers generated from combined grammars
This manual page was written by Ludovic Claude <email@example.com>