rharri / wabbitj

Compiler for the Wabbit language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

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.

Setup

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

Usage

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

Technologies

  • Java
  • LLVM
  • C

Bugs

There are bugs :)

License

See LICENSE

Thanks

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.

About

Compiler for the Wabbit language

License:MIT License


Languages

Language:Java 99.8%Language:Shell 0.2%