Intermediate Representation - the Abstract Syntax Tree Statements Assign i gets Immediate Value 0 Loop Writeln parameters String (simple loop, i=) i Assign i gets i add Immediate Value 1 Exit When: i equal Immediate Value 3 End Loop Writeln parameters String () Assign i gets Immediate Value 0 myName1: Loop Writeln parameters String (loop with name exit with loopname and when condition, i=) i Assign i gets i add Immediate Value 1 Exit myName1 When: i equal Immediate Value 3 End Loop Assign i gets Immediate Value 0 myName2: Loop Writeln parameters String (loop with name and while) Assign i gets i add Immediate Value 1 End Loop Writeln parameters String (finished)