CS 433 - Spring 2008
Compiler Design
Announcements
Homework
- Homework 0: suggest language syntax.
Submissions.
- Homework 1, due Monday 2/18.
Solutions.
- Homework 2, due Monday 2/25.
Solutions.
- Homework 3, due Monday 3/3.
Lectures & Readings
- M 2/11 - Course info, function and structure of a compiler (Ch 1)
- W 2/13 - Symbol table organization, language discussion (Ch 2.7, 1st ed. Ch 7.6)
- F 2/15 - Regular expressions (Ch 3.3)
- M 2/18 - Scanning with Lex/Flex (Ch 3.5,
Flex man page,
examples)
- W 2/20 - Formal grammars, CFGs (Ch 4.1-2)
- M 2/25 - Derivations and parse trees (Ch 4.2-3)
- W 2/27 - Parsing with Yacc (Ch 4.9,
Yacc paper,
examples)
- F 2/29 - Syntax tree, HW 3, debugging
Resources on C and Assembly: