Intermediate code generator: Example
EPosition
:=
EInitial
+
ERate
*
60
IntToReal
Abstract
Syntax
Tree:
T1
T2
T1 := IntToReal(60)
 T2 := ERate * T1
 T3 := EInitial + T2
 EPositon := T3
T3
Intermediate
code:
13/17