Compiler for mini-go!
Members:
1. Ng Zhi An
2. Victor Hazali
3. Vishnu Prem
Uses make to build the compiler, which will output a binary named main
in the current directory.
make
There are test cases that work correctly in testcases/vm/pass/
, you can run them like so:
./main testcases/vm/pass/fib-recur
make clean
Note, the test script isn't updated anymore because our build file has changed.
Some test cases are in the testcases folder. To run the tests:
make # build files
make test # for both parse test and type checks
Official project description: http://www.home.hs-karlsruhe.de/~suma0002/CS4212/project.html
Some tips: http://www.home.hs-karlsruhe.de/~suma0002/CS4212/project-tips.html
Helpful external guide: http://www.cse.chalmers.se/edu/year/2015/course/DAT150/lectures/proglang-07.html