Expr
S
yntax-Directed Translation:
Example
id
E
Position
:=
id
E
Initial
+
id
E
Rate
*
int
60
Assignment
Expr
Expr
Expr
Expr
Parse
Tree:
IntToReal
E
Position
:=
E
Initial
+
E
Rate
*
60
IntToReal
Abstract
Syntax
Tree:
11/17