COMS W4115
Programming Languages and Translators
Lecture 14: Syntax-Directed Definitions
October 26, 2009

Language tutorials and reference manuals are due in class Wednesday, November 4, 2009.

Here are the midterm solutions.

Lecture Outline

  1. Review
  2. Syntax-directed definitions and translation schemes
  3. Synthesized and inherited attributes
  4. S-attributed SDDs
  5. L-attributed SDDs
  6. Reading

1. Review

2. Syntax-Directed Definitions and Translations Schemes

3. Synthesized and Inherited Attributes

4. Examples of S-Attributed SDDs

5. L-Attributed SDDs

6. Reading and Practice Problems



aho@cs.columbia.edu