Make your own compiller in JAVA
Hello, guys! I really need your help.
I have a tusk in my college to make a compiller in COCO/R. You know, it is a compiller of compillers, the best of the best)
Coco/r for java is a program writen on Java to make another program on Java(compiller)
http://www.ssw.uni-linz.ac.at/Resea...ects/Coco/#Java
tutorial:
http://www.scifac.ru.ac.za/coco/javacoco.htm
User Guide
In order to generate an application (like a compiler) using Coco/R, a user has to
* write an attributed grammar in Cocol/R;
* process the grammar with Coco/R to generate a scanner and a parser;
* develop any supporting classes (like code generators or table handlers) that are used in the grammar;
* write a driver (main method) that initializes the scanner and calls the parser.
I opened Notepad and wrote Taste.ATG (atributed grammer). And now I don't know what to do next.. How to run coco/r? i downloaded coco.jar , clicked twice and nothing heppend((
Please help.
Message was edited by:
America70
Message was edited by:
America70

