Editing CoCo/R
Please note that you are now editing the latest revision of this page, which is not the approved one shown by default.
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | Coco/R is a compiler generator, that takes an attribute grammar of a source language and generates a scanner, parser and a semantic evaluator for this language. The scanner works as a deterministic finite automaton. The parser is recursive descent. LL(1) conflicts can be resolved by a multi-symbol lookahead or by semantic checks. | |
+ | |||
+ | Inherited and synthesized attributes are allowed; however evaluation is done in a top-down, left to right, tree traversal, during parsing. | ||
+ | |||
+ | Thus the class of accepted grammars is LL(k) for an arbitrary k. | ||
+ | |||
+ | There are versions of Coco/R for Java, C#, C++, Delphi, Modula-2, Oberon and other languages. | ||
+ | |||
+ | == Manual == | ||
+ | [http://www.ssw.uni-linz.ac.at/Coco/Doc/UserManual.pdf Link] | ||
+ | |||
+ | ==Examples == | ||
+ | * [http://eplmediawiki.di.uminho.pt/uploads/Lavanda_CoCoR.w Lavanda.w] <br> | ||
+ | * [http://eplmediawiki.di.uminho.pt/uploads/Lavanda_CoCoR.pdf Lavanda.pdf] | ||
+ | |||
+ | == Original Page == | ||
+ | [http://www.ssw.uni-linz.ac.at/Coco/ Link] | ||
+ | |||
+ | [[Category:Compiler Generators]] |