Also found in: Wikipedia.


A program by Hanspeter Moessenboeck <> which generates recursive descent parsers and their associated scanners from attributed grammars (LL1). Coco/R can bootstrap itself to generate its own driver, parser, scanner and semantic evaluator from an attributed grammar included in the distribution.

Versions exist for generating Oberon, Modula-2, Pascal, C, and C++ source for MS-DOS and Unix. A Java implementation was planned.

Latest version: 1.34, as gf 1994-10-13.

Coco/R was ported to Modula-2 by Marc Brandis, Christof Brass, and Pat Terry.

Mail server: <> (Subject: send pub/modula-2/coco/).

E-mail: Pat Terry <> (Modula/Pascal versions), Hanspeter Moessenboeck <> (Oberon, Java versions), Frankie Arzu <> (C, C++ versions).

["A compiler generator for microcomputers", by Rechenberg and Mossenbock, Prentice Hall, 1989, 0-13-155136-1].

[Moessenboeck, H., "A Generator for Fast Compiler Front-Ends", Report 127, Dept. Informatik, ETH Zurich, 1990].

[Terry, P.D., "Compilers and Compiler Generators: An Introduction with C++", ITCP: ISBN 1-85032-298-8].