PRECC - A PREttier Compiler-Compiler

Peter Breuer and Jonathan Bowen



Introduction

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

Versions of PRECCX are available for use under UNIX (e.g., on a Sun workstation) in gzip (compressed) tar format and also for use on a PC under MS-DOS as several zip format files. These are some of the historical archives:

* UNIX version available as a single "gzipped" tar format file.
* MS-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. (New)
See also information and index of compiler tools including PRECC.
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.


Documentation

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 on ptb@inv.it.uc3m.es or Jonathan Bowen on Jonathan.Bowen@lsbu.ac.uk.

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