PRECC - A PREttier Compiler-Compiler

Peter Breuer and Jonathan Bowen


PRECC eXtended is an infinite-lookahead compiler-compiler for context dependent grammars developed during and after the ESPRIT II REDO project. The generated code is ANSI C. Specification scripts are in very extended BNF with inherited and synthetic attributes allowed. Scripts can be compiled in separate modules, and linked together later. Meta-production rules are allowed. The technology is essentially LL(oo) with optimizations. A converter for yacc scripts is available.

News concerning PRECC is issued from time to time on the moderated (and therefore recommended) comp.compilers newsgroup including in the language tools catalog.

Obtaining PRECCX

* Sourceforge project site : click the big green download button under the "project" tab.

Old versions of PRECCX are available for UNIX in gzip (compressed) tar format and also for use on a PC under DOS as several zip format files. These are some of the historical archives available:

* UNIX version available as a single "gzipped" tar format file.
* DOS version in a directory including an index and information.
* PRECC examples available as a single "gzipped" tar format file.

* PRECC 2.44 for Linux, a single "gzipped" tar format file.
Old stable widely available version.
* PRECC version 2.45 and later FTP directory. (New)
Newer and more experimental versions.

A Z notation grammar is available in info-zip format and gzipped Unix tar format for use with PRECC. The former is suitable for use under DOS, apart from the Unix makefile. See PRECC support for parsing the Z notation.

Please note that PRECCX under continual development and is available on an as is basis, although comments are of course welcome.


The following on-line documentation is available:

See also the PRECC examples above.

Papers and reports

The following papers and report concerned with PRECC have been published and/or are available on-line:

See also:

For further information, please contact Peter Breuer at or Jonathan Bowen at

See also Spanish mirror site Part of the REDO project archive.