Go backward to
Summary (Semantics III)
Go up to
Top
Go forward to
Summary (Semantics V)
Summary (Semantics IV)
Command
[[
P
|- L:=E:
comm
]]
e
s
=
update
([[
P
|- L:
intloc
]]
e
,
[[
P
|- E:
intexp
]]
e
s
,
s
)
[[
P
|- C
1
;C
2
:
comm
]]
e
s
= [[
P
|- C
2
:
comm
]]
e
([[
P
|- C
1
:
comm
]]
e
s
)
[[
P
|-
if
E
then
C
1
else
C
2
fi
:
comm
]]
e
s
=
if
([[
P
|- E:
boolexp
]]
e
s
,
[[
P
|- C
1
:
comm
]]
e
s
,
[[
P
|- C
2
:
comm
]]
e
s
)
[[
P
|-
while
E
do
C
od
:
comm
]]
e
s
=
w(s)
where
w(s)
=
if
([[
P
|- E:
boolexp
]]
e
s
,
w
([[
P
|- C:
comm
]]
e
s
),
s
)
[[
P
|-
skip
:
comm
]]
e
s
=
s
[[
P
|-
call
X:
comm
]]
e
s
=
r(s)
where
r
= [[
P
|-X:
comm
]]
e
Author:
Wolfgang Schreiner
Last Modification: April 23, 1998