/watcompiler

Primary LanguageClojureEclipse Public License 2.0EPL-2.0

CS 444: Compilers

A compiler for Joos, a subset of Java 1.3, to i386 assembly language (the Netwide Assembler dialect). Written in Clojure by David and Jon.

Installation & Usage

Make sure you have Java (1.8+), and install Leiningen.

$ lein run program.java  # run compiler against a java file
$ lein test              # run all tests
$ lein uberjar           # compiler to a JAR