COMS W4115
Programming Languages and Translators
Lecture 13: Syntax-Directed Translation
March 5, 2008

Lecture Outline

  1. Review
  2. Error recovery in Yacc
  3. Syntax-directed definitions
  4. Synthesized and inherited attributes
  5. SDD for binary-to-decimal translation
  6. From arithmetic expressions to syntax trees
  7. Reading

1. Review

2. Error Recovery in Yacc

3. Syntax-Directed Definitions

4. Synthesized and Inherited Attributes

5. SDD for Binary-to-Decimal Translation

6. From Arithmetic Expressions into Syntax Trees

6. Reading



aho@cs.columbia.edu