Institut für Informatik und Computational Science
Refine
Has Fulltext
- no (1)
Year of publication
- 2018 (1)
Document Type
- Article (1) (remove)
Language
- English (1)
Is part of the Bibliography
- yes (1)
Keywords
- Type and effect systems (1) (remove)
Institute
We introduce a type and effect system, for an imperative object calculus, which infers sharing possibly introduced by the evaluation of an expression, represented as an equivalence relation among its free variables. This direct representation of sharing effects at the syntactic level allows us to express in a natural way, and to generalize, widely-used notions in literature, notably uniqueness and borrowing. Moreover, the calculus is pure in the sense that reduction is defined on language terms only, since they directly encode store. The advantage of this non-standard execution model with respect to a behaviorally equivalent standard model using a global auxiliary structure is that reachability relations among references are partly encoded by scoping. (C) 2018 Elsevier B.V. All rights reserved.