Semantics of Records and Lambda Abstractions
- Core part of language:
-
[[pi |- L:=E: comm]]e s =
update([[pi |- L: intloc]]e,
[[pi |- E: intexp]]e s, s)
-
[[pi |- E1;E2: comm]]e s =
[[pi |- E2: comm]]e ([[pi |- E1:
comm]]e s)
-
[[pi |- E1+E2: intexp]]e s =
plus([[pi |- E1: intexp]]e s,
[[pi |- E2: intexp]]e s)
-
[[pi |- N: intexp]]e s = [[N: int]]e
-
[[pi |- loci: intloc]]e = loci
- Type semantics:
-
[[comm]] = Store
-> Storebottom
-
[[tauexp]] = Store -> [[tau]]
Addition of environment does not change meaning of core language
programs.
Author: Wolfgang Schreiner
Last Modification: May 14, 1998