antlr3(3)

antlr33

Another tool for language recognition, version 3

Usage

java org.antlr.Tool or antlr3 [args] file.g [ file2.g file3.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.

-fo outputDir

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

-lib dir

specify location of token files.

-depend

generate file dependencies.

-report

print out a report about the grammar(s) processed.

-print

print out the grammar without actions.

-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.

-verbose

generate ANTLR version and other information.

-make

only build if generated files older than grammar.

-version

print the version of ANTLR and exit.

-X

display extended argument list.

Releases

3 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0–7
  2. 8

Author

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

From antlr3 3.2-10 in Debian 8 (Jessie). Parsed by carta from the page's man source.