CS 433 - Spring 2008

Compiler Design


Announcements

Homework

  1. Homework 0: suggest language syntax. Submissions.
  2. Homework 1, due Monday 2/18. Solutions.
  3. Homework 2, due Monday 2/25. Solutions.
  4. Homework 3, due Monday 3/3.

Lectures & Readings

  1. M 2/11 - Course info, function and structure of a compiler (Ch 1)
  2. W 2/13 - Symbol table organization, language discussion (Ch 2.7, 1st ed. Ch 7.6)
  3. F  2/15 - Regular expressions (Ch 3.3)
  4. M 2/18 - Scanning with Lex/Flex (Ch 3.5, Flex man page, examples)
  5. W 2/20 - Formal grammars, CFGs (Ch 4.1-2)
  6. M 2/25 - Derivations and parse trees (Ch 4.2-3)
  7. W 2/27 - Parsing with Yacc (Ch 4.9, Yacc paper, examples)
  8. F 2/29 - Syntax tree, HW 3, debugging


Resources on C and Assembly: