previous up next
Go backward to Semantics of Type Declarations
Go up to Top
Go forward to Array Indexing
RISC-Linz logo

Declarations

D: Declaration -> Environment -> Store ->
    (Environment x Poststore)
D[[D1; D2]] = lambda e.lambda s.
    let (e', p') = (D[[D1]]e s)
    in (check (D[[D2]]e'))(p)
D[[var I:T]] = lambda e.lambda s.
    let (d, p) = T[[T]]s
    in ((updateenv [[I]] d e), p)

A declaration activates the storage allocation strategy specified by its type structure.


Author: Wolfgang Schreiner
Last Modification: November 18, 1997

previous up next