Skip to content
Kotlin implementation of Tiger, the language in Andrew Appel's book Modern Compiler Implementation in ML.
Kotlin Assembly Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
compiler/src
gradle/wrapper
runtime
samples
vm/src/main/kotlin/kiger/vm
.gitignore
LICENSE
README.md
build.gradle
gradlew
gradlew.bat
run.sh
settings.gradle

README.md

kiger

Kotlin implementation of Tiger, the language in Andrew Appel's book Modern Compiler Implementation in ML.

Modules

  • compiler - the actual compiler with X86-64 and MIPS backends
  • vm - a simple interpreter for a subset of MIPS assembly produced by MIPS backend

TODO

  • peephole optimization for eliminating jumps to next instruction
  • add mechanism for executing integration tests
  • clean up and freeze the simple version
  • SSA
  • stack-maps
  • GC
  • boxing of escaping variables
  • first class functions
  • objects
  • generic types
  • type inference
You can’t perform that action at this time.