Go backward to
Parameter Forms
Go up to
Top
Go forward to
Evaluation Strategy
Expression Parameters
E-phrases as parameters.
theta
=
tau
exp
,
tau
in {
int
,
bool
}.
Abstract syntax:
D ::= ...|
proc
I
1
(I
2
:
tau
exp
) = C
C ::= ...|
call
I(E)
E ::= ...| I
Notice:
var
A
:
newint
proc
P
(
M
:
intexp
) =
A
:=
M
in call
P
(@
A
)
var
A
:
newint
proc
P
(
M
:
intloc
) =
A
:=
M
in call
P
(@
A
)
value
and
reference
parameters!
Author:
Wolfgang Schreiner
Last Modification: May 7, 1998