Go up to
Top
Go forward to
Command Blocks
The Qualification Principle
Any semantically meaningful syntactic class may admit local definitions.
Local definitions.
Restrict scope of abstractions by
Block structures
:
U ::= ...|
begin
D
in
U
end
Declarations D, block
body
U.
D visible only to U.
pi
1
|- D:
pi
2
dec
pi
1
-U-
pi
2
|- U:
theta
pi
1
|-
begin
D
in
U
end
:
theta
Correspondence to parameters:
For every parameterized abstraction form, a corresponding qualification form (and vice versa).
define
I
1
(I
2
:
theta
) = U
in
I
1
(V)
begin define
I
2
= V
in
U
end
Author:
Wolfgang Schreiner
Last Modification: May 14, 1998