Go backward to
Identifier Expressions
Go up to
Top
Go forward to
Semantics of Type Structures I
Type Attributes of Type Structures
Type structures have command-like semantics:
When evaluated with current environment and store, it alters store and returns value that can be bound to identifier.
[[
P
|- T:
D
class
]] in
Env
P
->
Store
->
([[
D
]] x
Store
)
Range of type attributes:
D
::=
intloc
|
P
P
::= {
i
:
T
i
}
i in I
, where
I
subset Identifier
H
::=
T
|
T
exp
|
comm
|
D
|
D
class
|
P
dec
T
::=
int
|
bool
[[
D
class
]] =
Store
->
([[
D
]] x
Store
).
Author:
Wolfgang Schreiner
Last Modification: April 23, 1998