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

[1120 byte] By [America70a] at [2007-11-26 14:19:15]
# 1
This is not a compiler construction forum, or a COCO/R forum either. Try a COCO/R forum, or as a last resort its documentation :-|
ejpa at 2007-7-8 2:10:12 > top of Java-index,Developer Tools,Java Compiler...
# 2
and no, we're not going to do your homework for you.
jwentinga at 2007-7-8 2:10:12 > top of Java-index,Developer Tools,Java Compiler...