EnglishFrenchSpanish

Ad


OnWorks favicon

dlg - Online in the Cloud

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

This is the command dlg 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


dlg - DFA Lexical Analyzer Generator

SYNTAX


dlg [options] lexical_spec [output_file]

DESCRIPTION


dlg is a tool that produces fast deterministic finite automata for recognizing regular
expressions in input.

OPTIONS


-CC Generate C++ output. The output_file is not specified in this case.

-C[ level]
Where level is the compression level used. 0 indications no compression, 1 removes
all unused characters from the transition from table, and 2 maps equivalent
characters into the same character classes. It is suggested that level -C2 is
used, since it will significantly reduce the size of the dfa produced for lexical
analyzer.

-m Produces the header file for the lexical mode with a name other than the default
name of "mode.h".

-i An interactive, or as interactive as possible, parser is produced. A character is
only obtained when required to decide which state to go to. Some care must be
taken to obtain accept states that do not require look ahead at the next character
to determine if that is the stop state. Any regular expression with a Kleene
closure at the end is guaranteed to require another character of look ahead.

-cl class
Specify a class name for DLG to generate. The default is DLGLexer. "class" will
be a subclass of DLGLexerBase; only used for -CC.

-ci The automaton will treat upper and lower case characters identically. This is
accomplished in the automaton; the characters in the lexical buffer are unmodified.

-cs Upper and lower case characters are treated as distinct. This is the default.

-o dir Directory where output files should go (default="."). This is very nice for
keeping the source directory clear of ANTLR and DLG spawn.

-Wambiguity
Warns if more than one regular expression could match the same character sequence.
The warnings give the numbers of the expressions in the dlg lexical specification
file. The numbering of the expressions starts at one. Multiple warnings may be
print for the same expressions.

- Used in place of file names to get input from standard in or send output to
standard out.

SPECIAL CONSIDERATIONS


Dlg works... we think. There is no implicit guarantee of anything. We reserve no legal
rights to the software known as the Purdue Compiler Construction Tool Set (PCCTS) — PCCTS
is in the public domain. An individual or company may do whatever they wish with source
code distributed with PCCTS or the code generated by PCCTS, including the incorporation of
PCCTS, or its output, into commercial software. We encourage users to develop software
with PCCTS. However, we do ask that credit is given to us for developing PCCTS. By
"credit", we mean that if you incorporate our source code into one of your programs
(commercial product, research project, or otherwise) that you acknowledge this fact
somewhere in the documentation, research report, etc... If you like PCCTS and have
developed a nice tool with the output, please mention that you developed it using PCCTS.
As long as these guidelines are followed, we expect to continue enhancing this system and
expect to make other tools available as they are completed.

Use dlg online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • 7
    GLPI Themes
    GLPI Themes
    Download release at
    https://github.com/stdonato/glpi-modifications/
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • More »

Linux commands

Ad