OnWorks favicon

antlr3 - Online in the Cloud

Run antlr3 in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command antlr3 that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



ANTLR - ANother Tool for Language Recognition, version 3


antlr3 [args] file.g [ 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 print out the grammar without actions.

-debug generate a parser that emits debugging events.

generate a parser that computes profiling information.

-trace generate a recognizer that traces rule entry/exit.

-nfa generate an NFA for each rule.

-dfa generate a DFA for each decision point.

-message-format name
specify output style for messages.

generate ANTLR version and other information.

-make only build if generated files older than grammar.

print the version of ANTLR and exit.

-language L
override language grammar option; generate L

-X display the list of extended arguments

print the grammar AST

-Xdfa 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 [4]

-Xmaxdfaedges m
max "comfortable" number of edges for single DFA state [65534]

-Xmaxinlinedfastates m
max DFA states before table used rather than inlining [60]

-Xmaxswitchcaselabels m
don't generate switch() statements for dfas bigger than m [300]

-Xminswitchalts m
don't generate switch() statements for dfas smaller than m [3]

don't delete temporary lexers generated from combined grammars

Use antlr3 online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 2
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 3
    Gambas3* coding tools and examples for
    use in SMB or other organizations that
    make internal programs. E.g. from
    database fields to class sourcecode with
    Download garlic3
  • 4
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    Download Sardi
  • 5
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    Download LMMS Digital Audio Workstation
  • 6
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 7
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • More »

Linux commands