Lecture: Attribute Grammars and Mini Language Interpreter

Background Material

Reading

Theme

This lecture builds an interpreter for the mini language from chapter 13 of Louden's Programming Languages text. A parser is written that translates the input program into a data structure that can easily be interpreted. The language is extended to support procedures.

Topics

  1. Mini language
  2. Operational semantics for mini language

References, programs, and lecture notes

Exercises

Created: April 3, 2008 (revised April 12, 2013) by jjohnson AT cs DOT drexel DOT edu