Expression:
((2+x++)+(10-((x=3)+(
x=
READ
))))
Parse tree:
Translation:
Input
Put x
Push 3
Put x
DoOp +
Push 10
DoOp -
Get x
Get x
Push 1
DoOp +
Put x
Pop
Push 2
DoOp +
DoOp +
Command:
Put x
Inputs:
Stack:
5
Environment:
x
5