A compiler for the Wabbit language.
This is not meant to be a full implementation of the language, instead the goal of this project is to explore compiler design and software design in general.
A JDK installation is required for development and testing.
JDK version >= 17 is required.
$ git clone https://github.com/rharri/wabbitj.git
$ cd wabbitj/
$ ./mvnw package
Running a Wabbit program using the interpreter:
$ java -jar target/wabbitj-x.x.x.jar examples/simple.wb
42
$ java -jar target/wabbitj-x.x.x.jar examples/numbers.wb
42
1.5
0.15
- Java
- LLVM
- C
There are bugs :)
See LICENSE
This project was made possible by David Beazley's creation of Wabbit and his wonderful compiler course.
If you are interested in learning about compilers and want to hack on one, I highly recommend taking David's course.