Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Option

description

-o outputDir

specify output directory where all output is generated; search for token vocabularies in here also

-fo outputDir

same as -o but force even files with relative paths to dir

-depend

generate file dependencies; don't actually run antlr

-lib dir

specify location of token files and important grammars

-report

print out a report about the grammar(s) processed

-print

print out the grammar without actions

-trace

generate a parser with trace output - if the default output is not enough, you can override the traceIn and traceOut methods

-debug

generate a parser that emits debugging events

-profile

generate a parser that computes profiling information

-nfa

generate an NFA for each rule

-dfa

generate a DFA for each decision point

-message-format name

specify output style for messages

-X

display extended option list

...