Modern Compiler Implementation in Java
©1998 by Andrew W. Appel
Tiger compiler modules for programming exercises
- Introduction:
interp.java
prog.java
slp.java
- Lexical Analysis:
ErrorMsg
Parse
makefile
- Parsing:
ErrorMsg
Parse
makefile
- Abstract Syntax:
Absyn
ErrorMsg
Parse
Symbol
- Type Checking:
Types
- Activation Records:
Temp
Util
- Translation to Intermediate Representation:
Tree
- Canonical Trees:
Canon
- Instruction Selection:
Assem
Canon
Main
- Dataflow Analysis:
- Register Allocation:
How to use precolored nodes
- 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).