COCO/R

'Coco/R' is a compiler generator (Compiler-compiler), which takes an attributed grammar of a source language and generates a scanner and a parser for this language. The scanner works as a deterministic finite state machine. The parser uses recursive descent. LL(1) conflicts can be resolved by a multi-symbol lookahead or by semantic checks. Thus the class of accepted grammars is LL(k) for an arbitrary k.
There are versions of Coco/R for different languages. The latest versions from the University of Linz are those for C# and Java, which can be downloaded from this site. Included are sample parsers for The parser is written in these languages and the grammar parsed is C# or Java.
Coco/R is distributed under the terms of a modified GNU General Public License.

Contents
References
External link

References


Pat Terry: Compiling with C# and Java Pearson, 2005 - a book about using Coco/R for compiler construction:

External link



Coco/R Homepage

This article provided by Wikipedia. To edit the contents of this article, click here for original source.

psst.. try this: add to faves