Compiler Course Projects
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples/src
project
sjc
.gitattributes
.gitignore
README.md
build.sbt
shippable.yml

README.md

Compiler

Run Status

API doc

This repository hosts the StaticJava Compiler (sjc) source code for K-State CIS 706 graduate course on Translator Design I.

Requirements

Alternatively, you can use Java and Sbt included in Sireum v3 (either IVE or CLI).

Java can be found at SIREUM_HOME/platform/java and Sbt can be found at SIREUM_HOME/platform/sbt.

Compiling and Testing

sbt test

Running sjc

sbt "sjc <filepath.java>"

For example,

sbt "sjc sjc/src/test/java/Power.java"

Development Environment

It is recommended to use Sireum IVE which comes with all the necessary plugins for this project.

Alternatively, you can use IntelliJ with the following plugins installed: