EnglishFrenchSpanish

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

PROGRAM:

NAME


ANTLR - ANother Tool for Language Recognition, version 3

SYNOPSIS


antlr3 [args] file.g [ file2.g file3.g ...]

DESCRIPTION


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.

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

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

-verbose
generate ANTLR version and other information.

-make only build if generated files older than grammar.

-version
print the version of ANTLR and exit.

-language L
override language grammar option; generate L

-X display the list of extended arguments

-Xgrtree
print the grammar AST

-Xdfa print DFA as text

-Xnoprune
test lookahead against EBNF block exit branches

-Xnocollapse
collapse incident edges into DFA states

-Xdbgconversion
dump lots of info during NFA conversion

-Xconversiontimeout
use to restrict NFA conversion exponentiality

-Xmultithreaded
run the analysis in 2 threads

-Xnomergestopstates
do not merge stop states

-Xdfaverbose
generate DFA states in DOT with NFA configs

-Xwatchconversion
print a message for each NFA before converting

-XdbgST
put tags at start/stop of all templates in output

-Xnfastates
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]

-Xsavelexer
don't delete temporary lexers generated from combined grammars

Use antlr3 online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 2
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 3
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • 4
    Apache OpenOffice Extensions
    Apache OpenOffice Extensions
    The official catalog of Apache
    OpenOffice extensions. You'll find
    extensions ranging from dictionaries to
    tools to import PDF files and to connect
    with ext...
    Download Apache OpenOffice Extensions
  • 5
    MantisBT
    MantisBT
    Mantis is an easily deployable, web
    based bugtracker to aid product bug
    tracking. It requires PHP, MySQL and a
    web server. Checkout our demo and hosted
    offerin...
    Download MantisBT
  • 6
    LAN Messenger
    LAN Messenger
    LAN Messenger is a p2p chat application
    for intranet communication and does not
    require a server. A variety of handy
    features are supported including
    notificat...
    Download LAN Messenger
  • More »

Linux commands

Ad