Start of Interpreter for program P3.tri at Thu Aug 02 12:13:39 2001

Program

# F:=(7*(3+(2*5)))#

Parsing tree

root
:=
F*
7+
3*
25

Table of constants

c1=7c2=3c3=2c4=5

Table of identifiers

i1=F

Modified tree

root
:=
F*
7+
3*
25


Stackid F=0

Stackid F=0const=7

Stackid F=0const=7const=3

Stackid F=0const=7const=3const=2

Stackid F=0const=7const=3const=2const=5
interpreting the operator (2*5)
*
25

10 = 2 * 5

Stackid F=0const=7const=3tm=10
interpreting the operator (3+(2*5))
+
3*
25

13 = 3 + 10

Stackid F=0const=7tm=13
interpreting the operator (7*(3+(2*5)))
*
7+
3*
25

91 = 7 * 13

Stackid F=0tm=91
interpreting the operator F:=(7*(3+(2*5)))
:=
F*
7+
3*
25

F:=91

Stack
program P3.tri is completed

THE VARIABLES:

F=91

Interpreter ended at Thu Aug 02 12:13:40 2001