Tiger Compiler components compatible with SML/NJ 109.4

The Tiger compiler software modules referenced on this page work under Standard ML of New Jersey version 109.4.

I recommend that you use version 109.31 instead, and use the Tiger modules available on the Modern Compiler Implementation in ML home page.

But if you happen to be using an early-1996 version of SML/NJ, perhaps the following modules will work better.

Tiger compiler modules for programming exercises

  1. Introduction
  2. Lexical Analysis
  3. Parsing
  4. Abstract Syntax
  5. Type Checking
  6. Activation Records
  7. Translation to Intermediate Representation
  8. Canonical Trees
  9. Instruction Selection
  10. Dataflow Analysis
  11. Register Allocation
  12. Putting It All Together
Or get the whole Tiger bundle as a tar file.