Modern Compiler Implementation in Java

©1998 by Andrew W. Appel

Tiger compiler modules for programming exercises

  1. Introduction:
  2. Lexical Analysis: ErrorMsg Parse makefile
  3. Parsing: ErrorMsg Parse makefile
  4. Abstract Syntax: Absyn ErrorMsg Parse Symbol
  5. Type Checking: Types
  6. Activation Records: Temp Util
  7. Translation to Intermediate Representation: Tree
  8. Canonical Trees: Canon
  9. Instruction Selection: Assem Canon Main
  10. Dataflow Analysis:
  11. Register Allocation: How to use precolored nodes
  12. Putting It All Together: runtime.c
Or get the whole Tiger bundle as a tar file, or as a zip file (please preserve directory structure when unzipping).