Start of Interpreter for program P3.tri at Thu Aug 02 12:13:39 2001
Program
# F:=(7*(3+(2*5)))#
Parsing tree
Table of constants
Table of identifiers
Modified tree
Stack | id F=0 | const=7 | const=3 |
Stack | id F=0 | const=7 | const=3 | const=2 |
Stack | id F=0 | const=7 | const=3 | const=2 | const=5 |
interpreting the operator (2*5)
10 = 2 * 5
Stack | id F=0 | const=7 | const=3 | tm=10 |
interpreting the operator (3+(2*5))
13 = 3 + 10
interpreting the operator (7*(3+(2*5)))
91 = 7 * 13
interpreting the operator F:=(7*(3+(2*5)))
F:=91
program P3.tri is completed
THE VARIABLES:
F=91
Interpreter ended at
Thu Aug 02 12:13:40 2001