C compiler for GAIA CPU written in OCaml.
- OCaml 4.0.1
- ocamlbuild 4.0.1
- Clang
make
To run the tests, use the following command.
make test
./bin/run ./test/fib-loop.c
If you want to see an assembly, run the following command.
./bin/ucc -S ./test/fib-loop.c
Then, ./test/fib-loop.s
will be generated.
You can also run a test.
prove ./test/fib-loop.c