Original PDF Flash format mks-lex-  


Mks Lex

MKS Lex & Yacc
Do you need powerful compiler
ï‚§ "Little languages" such as
MKS Lex
construction tools? Do you need
database query and page
MKS Lex builds a lexical analyzer,
to better automate the processing
description languages.
a C or C++ function that takes a
and translation of user input? Do
stream of input and breaks it up
you need tools to help you build
ï‚§ Word processing applications.
into tokens according to specified
language translators or database
rules. Some of the unique
query languages? Does your ideal
Interoperability
features of MKS Lex are:
solution integrate with your
MKS Lex & Yacc is fully
development environment?
compatible with UNIX System V
ï‚§ The full 8-bit character set,
and BSD and tracks POSIX and
including NULL, is scanned.
For software development
X/Open standards for open
professionals, any tool that
systems.
ï‚§ Supports multiple scanners in
makes the job easier is a valuable
one program.
commodity. MKS Lex & Yacc
MKS Lex & Yacc generates very
ï‚§ Windows compatible resource
simplifies the development of
portable C or C++ code. The
files reduce data segment
interpretive and analytical
output can also be optimized for
requirements.
software such as customized
Windows by creating the scanner
compilers and parsers. By
and parser tables as loadable
ï‚§ Windows compatible error
automating complex processes
resources providing more efficient
handling.
like user input translation, MKS
use of memory.
ï‚§ Exclusive start conditions
Lex & Yacc provides valuable aid
allow creation of scanners
to those who write compilers,
What’
s more, the source code
which use conflicting sets of
database query languages and
created and library routines used
rules (based on context) in a
text processing applications. This
by MKS Lex & Yacc may be freely
single scanner
allows developers to concentrate
distributed provided that the
more on creativity, and spend
copyright notices are not
ï‚§ Able to:
less time on the monotony of
removed.
ï‚§ Pre-process input.
lexical analysis and grammar
matching.
The user is free to sell or
ï‚§ Scan from strings,
distribute programs created using
streams or files.
Integrated with Microsoft
MKS Lex & Yacc, subject to
ï‚§ Remap character sets.
Visual Studio
observance of the terms of the
MKS Lex & Yacc is integrated into
Program License Agreement and
MKS Yacc
Microsoft Visual Studio and
Additional License Terms for
MKS Yacc (Yet-Another-Compiler-
VS.NET with the MKS Lex & Yacc
Development Products packaged
Compiler) builds a parser, a C or
MSVC Add-in allowing you to build
with MKS Lex & Yacc Libraries
C++ function that takes a stream
and manipulate your Lex and Yacc
of tokens (such as those provided
source files within the VC++ IDE.
Full source code for all library
functions is included and the
by MKS Lex) and matches them
against the specified grammar.
Typical Uses
libraries are pre-built for all
Some of the unique features of
MKS Lex & Yacc can be used to
supported compilers.
MKS Yacc are:
quickly and easily build:
ï‚§ Supports multiple parsers in
ï‚§ Compiler front-ends (scanning
I've tried the other Yaccs and MKS
one program.
and parsing phase of
Lex & Yacc is by far the best on the
compilation).
market, with the best documentation
ï‚§ Selection preference syntax
ï‚§ Interpreters for interpreted
and the neatest technical support
resolves conflicts.
languages, for example, the
people."
calculator component of a
ï‚§ User can determine where
spreadsheet.
Tom Campbell,
parsing tables are located:
Systems & Software Inc.
ï‚§ Language translators.

ï‚§ DYYSTATIC allocates
ï‚§ Reference guide, glossary and
ï‚§ dBase IV, SQL, HyperTalk
tables statically.
index.
and PIC.
ï‚§ DYYALLOC allocates
ï‚§ Scanner/parser for ANSI
tables dynamically,
Tutorial Examples
C, FORTRAN.
generating re-entrant
MKS Lex & Yacc ships with a
parser.
number of examples and
ï‚§ Grammar for C++ and
tutorials, in both C and C++, to
Java.
ï‚§ Detects syntax errors earlier
get you up and going as quickly
than parsers generated by
as possible. Each example builds
In a Nutshell
UNIX yacc.
upon the previous and introduces
The MKS Lexical scanner and MKS
more advanced features and
Yacc parser generators form a
Documentation
concepts.
powerful program generation tool
Integrated on-line manual
which processes any language
includes:
 dc1-6 — from calculator to
specification you provide into
compiler introducing concepts
usable, portable, and expandable
ï‚§ Installation guide.
like: memory variables;
C or C++ code.
conditional statements;
ï‚§ Lex & Yacc tutorial including a
function parameters;
new section on symbol table
Learn more about the rest of the
declarations and C-style
management. Examples are
MKS product line and services by
scoping.
written in C and C++ and are
pointing your browser to
available on-line.
ï‚§ Additional Example
www.mkssoftware.com.
Grammars
ï‚§ MKS Lex programming guide.
ï‚§ Pascal parser, cross
ï‚§ MKS Yacc programming
referencer and tag
guide.
generator.
Corporate Headquarters
410 Albert Street
Waterloo, ON N2L 3V3
Canada
tel: 519 884 2251
fax: 519 884 8861
sales: 800 265 2797
Worldwide Offices
12701 Fair Lakes Circle
15 Third Avenue
1815 S. Meyers Suite 220
Martinstraße 42-44
Third Floor, Duke's Court
Suite 350
Burlington, MA USA
Oakbook Terrace, IL
73728 Esslingen
Duke Street, Woking
Fairfax, VA USA
01803
60181
Deutschland
Surrey
22033
tel: 781 359 3300
tel: 630 827 4900
tel: +49 711 351775 7522
GU21 5BH
tel: 703 803 3343
fax: 781 359 3399
fax: 630 629 9167
fax: +49 711 351775 7555
United Kingdom
fax: 703 803 3344
sales: 888 934 7268
sales: 800 633 1235
tel: +44 (0) 1483 733900
sales: 800 637 8034
fax: +44 (0) 1483 733901
sales: +44 1483 733919
MKS, MKS Toolkit, NuTCRACKER, and MKS AlertCentre are trademarks or registered trademarks of and © 2004 MKS Software Inc.;
in Canada copyright owned by MKS Inc. All rights reserved.
LY-DS1105-34