Evaluation of Expressions: Example 5/16
Example for a + b, where a.value = 10, b.value = 20
{F1.s := i.value}
{R1.i := F1.s}
R1
{T1.s := R1.s}
{Q1.i := T1.s}
Q1
{E.s := Q1.s}
$
Parser pushdown:
Semantic pushdown:
Input: + i2 $
Rule:
32/69
E
10
+
20
T1
Q1
F1
R1
i1
Illustration: