In previous work with Bono we introduced a calculus for modelling "environment-aware" computations, that is computations that adapt their behavior according to the capabilities of the environment. The calculus is an imperative, object-based language (with extensible objects and primitives for discriminating the presence or absence of attributes of objects) equipped with a small-step operational semantics. In this paper we define a type and effect system for the calculus. The typing judgements specify, via constraints, the shape of environments which guarantees the correct execution of expressions and the typing rules track the effect of expression evaluation on the environment. The type and effect system is sound w.r.t. the operational semantics of the language. ©2003 Published by Elsevier Science B.V.

Alias types for “environment-aware” computations

DAMIANI, Ferruccio;
2003-01-01

Abstract

In previous work with Bono we introduced a calculus for modelling "environment-aware" computations, that is computations that adapt their behavior according to the capabilities of the environment. The calculus is an imperative, object-based language (with extensible objects and primitives for discriminating the presence or absence of attributes of objects) equipped with a small-step operational semantics. In this paper we define a type and effect system for the calculus. The typing judgements specify, via constraints, the shape of environments which guarantees the correct execution of expressions and the typing rules track the effect of expression evaluation on the environment. The type and effect system is sound w.r.t. the operational semantics of the language. ©2003 Published by Elsevier Science B.V.
2003
WOOD2003: Workshop on Object Oriented Developments - Satellite Event for ETAPS 2003: Sixth European Joint Conference on Theory and Practice of Software
Warsaw, Poland
April 12, 2003
82
130
150
http://www.sciencedirect.com/science/article/pii/S1571066104808053
Document object model (DOM); Imperative languages; Inference algorithms; JavaScript; Object oriented programming; HTML; Semantics; Web browsers; Websites
Ferruccio Damiani; Paola Giannini
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/126146
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 5
  • ???jsp.display-item.citation.isi??? ND
social impact