Compiler - a Parser Generator Program
CPG is an application for specifying formal language grammars and
computing, generating, and simulating the corresponding
automatons. It has features which significantly extend
the lex/yacc and flex/bison tools available on UNIX and Linux operating
The version 2.1 release is an update of the software to support new
versions of the Trolltech Qt library and GNU C++ compiler. There
is also a new distribution for Windows XP. The update relies on
the Qt3Support Module for the GUI program. The programs have been
tested using Qt 4.x.x and GNU C++ 4.x.x versions of libraries and tools.
There are a number of GUI restrictions and differences
that remain until a full conversion to the Qt4 interface can be
line program is functionally unchanged.
- Only one grammar file can be open at a time.
- GUI Framework mode is set for multiple child document windows.
- Minor differences in window and control attribute rendering and
New features have been added to the parser drivers to support C
preprocessor style conditional compilation and file inclusion
mechanisms directly in the lexical stage. An example included
demonstrates the features and can be used generically for new
GNU General Public License
Some program screen images.
Send inquiries to email@example.com