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
those of
the lex/yacc and flex/bison tools available on UNIX and Linux operating
systems.
Version 2.1
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
developed and
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
completed:
- 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
inheritance.
The command
line program is functionally unchanged.
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
applications.
README_2_1
cpg_linux_2_1.tar.gz
cpg_windowsxp_2_1.tar.gz
cpg_windowsxp_2_1.zip
Version 2.0
README_2_0
cpg_2_0.tar.gz
cpg_userguide.pdf
cpg_framework.pdf
GNU General Public License
Some program screen images.
Send inquiries to info@cpgsource.com
01/08/2007