z-logo
open-access-imgOpen Access
Labelled reductions, runtime errors, and operational subsumption
Author(s) -
Laurent Dami
Publication year - 1997
Publication title -
lecture notes in computer science
Language(s) - English
Resource type - Book series
SCImago Journal Rank - 0.249
H-Index - 400
eISSN - 1611-3349
pISSN - 0302-9743
ISBN - 3-540-63165-8
DOI - 10.1007/3-540-63165-8_231
Subject(s) - computer science , operational semantics , abstract interpretation , semantics (computer science) , programming language , denotational semantics , context (archaeology) , reusability , subtyping , software , theoretical computer science , paleontology , biology
When combining modules it may be the case that the assembly is partially incorrect (error- prone), but nevertheless useful in some contexts. However usual type system will reject such assemblies as soon as they detect a potential error. We propose a more liberal approach: an error in a software configuration is tolerated as long as there are contexts which can use it without reaching the error; as a result, soft ware reusability is improved. We introduce a general framework which defines in a language-independent way what it means to be "erroneous", and under which conditions a component ma y "subsume" another (i.e. replace it in any context). This new semantics, based on the observation of errors, is then applied to a comparison of various lambda-calculi, and shown to be close to the well-known approximation semantics. An interesting application is to use the subsumption semantics for a simple term model interpretation of subtyping. The fra mework also proposes a language-independent specification of labelled reduction, which is used as a technical tool to syntactically characterize finite approximation. This generalizes the work of Mason, Smith and Talcott on getting denotational structures throu gh operational techniques, and furthermore provides an operational way to interpret recur sive type definitions.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom