from small one page howto to huge articles all in one place
 

search text in:





Poll
Which filesystem do you use?






poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

85790

userrating:

average rating: 1.7 (82 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

202207

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

84209

userrating:

average rating: 1.3 (27 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





dlg

Section: PCCTS Manual Pages (1)
Updated: April 1994
Index Return to Main Contents
 

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

FILES

mode.h , dlgauto.h , dlgdef.h  

SEE ALSO

antlr(1), pccts(1)  

BUGS


 

Index

NAME
SYNTAX
DESCRIPTION
OPTIONS
SPECIAL CONSIDERATIONS
FILES
SEE ALSO
BUGS


Please read "Why adblockers are bad".



Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2013 Sascha Nitsch Unternehmensberatung UG(haftungsbeschränkt)
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 4.2 ms