java based compiler for a minimal c-dialect
Licence: GNU GPLv3
sudo apt-get install ant coco-java jflex openjdk-7-jdk
ant build
ant test
This project is an IDE for a minimal version of C. Currently, the user interface shows the program steps, operations and varibables like a debugger. However, we are planing to design a graphical user interface which is able to explain simple program flows and processes to programming beginners in a demonstrative and understandable way.
The program is based on three components:
-
A compiler which generates an abstract syntax tree
-
An interpreter which builds up a call stack and runs the AST step by step
-
The GUI which enables editing the source code and running it