Compiler for the Monkey programming language, written in C, based on the books Writing an Interpreter in Go and Writing an Compiler in Go by Thorsten Ball.
I want to teach myself compilers. I figure this might be a nice way to start. It differs from the original Go implementation in the following ways:
- This implementation does not support closures.
- It does not have a garbage collector.
- We compile the monkey source code into a self-contained executable!
You need the following tools installed:
- clang
- make
Then, run:
make