Assignments
Introduction
Instructions
Source Code
Compiler Stages
Stage Presentation
TC-1/2, Scanner, Parser & Building the Abstract Syntax Tree
TC-3, Bindings
TC-R, Unique Identifiers
TC-E, Computing the Escaping Variables
TC-4, Type Checking
TC-D, Removing the syntactic sugar from the Abstract Syntax Tree
TC-L, LLVM IR
TC-EXTS, Improving Your Compiler with Fun Extensions
TC-5, Translating to the High Level Intermediate Representation
TC-6, Translating to the Low Level Intermediate Representation
TC-S, Static Single Assignment
TC-S Goals
TC-S Samples
TC-S Static Single Assignment Samples
TC-S Dead Code Elimination Samples
TC-S Given Code
TC-S Code to Write
TC-S, FAQ
TC-7, Instruction Selection
TC-8, Liveness Analysis
TC-9, Register Allocation
TC-X, IA-32 Back End
TC-Y, ARM Back End
Tools
Tiger Compiler Reference Manual
Archive
Assignments
Compiler Stages
TC-S, Static Single Assignment
TC-S Samples
TC-S Samples
This section contains examples for the two sections of TC-S: SSA Form and Dead Code Elimination.
TC-S Static Single Assignment Samples
TC-S Dead Code Elimination Samples