Projects / preccx

preccx

PRECC eXtended is an infinite-lookahead higher-order compiler-compiler for languages with context-dependent grammars. The generated code is ANSI C and ANSI C++; the code will compile and run natively under either C or C++. Specification scripts are extended BNF, with both inherited and synthetic attributes allowed. Scripts can be compiled in separate modules and linked later. The technology is essentially LL(oo).

Tags
Licenses

Recent releases

  •  23 Sep 2007 21:35

    Release Notes: The code has been updated to be compatible with the new GCC 4.2 C compiler, which is increasingly strict about casting functions.

    •  23 Sep 2007 21:33

      Release Notes: The compiler compiler's internal sequent production has been improved to allow trailing \x and be more comprehensible to the maintainer.

      •  26 Jun 2007 21:14

        Release Notes: A "debian" subdirectory has been added in order to allow the building of deb packages from the source archive.

        •  17 Jun 2007 06:00

          Release Notes: Production rule prototypes are allowed to be declared as needed inline in a grammar script ("@foo(x,y)") instead of generating all the necessary prototypes in a separate output file. Data constructor/deconstructor notation was introduced for use in making and consuming complicated data structures inside grammar rules ("+{foo}\x ... -{bar(x)}").

          •  17 Jun 2007 05:59

            Release Notes: A problem with anchor after cut ("! ^") in a grammar specification was fixed.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.