cantlr(1)

cantlr1

Another tool for language recognition

Usage

cantlr ["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 3 releases since Debian 4.0 (Etch).

  1. 4.0–6.0

Author

This manual page was written by John Leuner <[email protected]>

From cantlr 2.7.7-16 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.