mxsg / minijava-compiler

Implementation of a Minijava to x86 compiler in Java and Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiler-Praktikum

Implementation of an x86 compiler for MiniJava, a subset of Java.

Build Status

Getting Started

Clone, build and run:

git clone https://github.com/jenox/Compiler-Praktikum.git
cd Compiler-Praktikum
git submodule update --init --recursive

# Building the compiler is as easy as calling the build script
./build

# Use the run script to compile MiniJava code
./run TestProgram.java

Prerequisites

The compiler needs the following dependencies:

  • A recent Java SE version (at least JDK 8 is required)
  • Swift 4.2 (if you do not already have this, we recommend using swiftenv to install it)
  • gcc to assemble and link the MiniJava binaries

Built With

Authors

  • Christian Schnorr - jenox
  • Maximilian Stemmer-Grabow - mxsg
  • Maik Wiesner - uheai
  • Daniel Krueger - dnlkrgr

About

Implementation of a Minijava to x86 compiler in Java and Swift


Languages

Language:Java 80.4%Language:Swift 17.7%Language:Python 0.8%Language:Shell 0.6%Language:C 0.5%