COMP 412
: Topics in Compiler Construction
Keith Cooper
Department of Computer Science
Rice University
Houston, Texas, USA
Fall 2013: Room TBA,
Duncan Hall
, Monday, Wednesday, Friday, 11:00am
Notes
Note:
Lab 3 is available. See the
programming assignments
page.
Lecture notes will be posted on this page before class, in both one slide per page and two-slide per page (2-up) format.
Slides and/or Notes
Introduction
, and
2-up version
See also the
class syllabus
Lab 0 Lecture
, and
2-up version
Overview Lecture
, and
2-up version
(This slide set covers two lectures)
Introduction to Lexical Analysis
, and
2-up version
(start of Chapter 2 in EaC2e)
Lab 1: Local Register Allocation
, and
2-up version
Lexical Analysis: From Regular Expression to Scanner, Part II (Thompson's Construction)
, and
2-up version
Lexical Analysis, Part III (Subset Construction)
, and
2-up version
Lexical Analysis, Part IV (DFA Minimization)
, and
2-up version
(Lecture went badly awry)
Lexical Analysis, Part IV (Again)
, and
2-up version
Building Scanners
, and
2-up version
Introduction to Parsing
, and
2-up version
Top-Down Parsing, Part I
, and
2-up version
Top-Down Parsing, Part II
, and
2-up version
Top-Down Wrap Up, Bottom-up Introduction
, and
2-up version
LR Parsers
, and
2-up version
<-- Slide set covers full set of LR(1) material (3 or more lectures)
Introduction to Context-Sensitive Analysis (or "Semantic Elaboration")
, or
2-up version
>
Addendum to Lecture 16
, or
2-up version
(What I should have said!)
Ad-hoc Syntax-Directed Translation
, or
2-up version
A (Terribly Brief) Introduction to Type Systems
, or
2-up version
Intermediate Representations
, or
2-up version
Translating Abstractions, Expressions, and Control-Flow
(
aka, Time & Compilation
), or
2-up version
Naming in Procedures
, or
2-up version
Storage Areas
, or
2-up version
Establishing Addressability
, or
2-up version
Procedure Linkages
, or
2-up version
Support for OOLs
, or
2-up version
Lab 3: Local Scheduling
, or
2-up version
Code Shape for Arithmetic Expressions
, or
2-up version
Code Shape: Assignments, Arrays, Records, and Strings
or
2-up version
Code Shape: Strings, Booleans, Relationals, and Control Flow
, or
2-up version
Instruction Selection: Introduction
, or
2-up version
Instruction Selection: Tree-Pattern Matching
, or
2-up version
Instruction Selection: Tree-Pattern Matching Example
, or
2-up version
Instruction Selection via Peephole Optimization
, or
2-up version
Instruction Scheduling: Regional Approaches
, or
2-up version
Combining Scheduling and Register Allocation
+ notes on the 3rd hour exam, or
2-up version
Comp 412 Home
Last modified Thursday, 29-Nov-2012 23:30:41 CST.