Tracking Data-Flow with Open Closure Types

Abstract : Type systems hide data that is captured by function closures in function types. In most cases this is a beneficial design that favors simplicity and compositionality. However, some applications require explicit information about the data that is captured in closures. This paper introduces open closure types, that is, function types that are decorated with type contexts. They are used to track data-flow from the environment into the function closure. A simply-typed lambda calculus is used to study the properties of the type theory of open closure types. A distinctive feature of this type theory is that an open closure type of a function can vary in different type contexts. To present an application of the type theory, it is shown that a type derivation establishes a simple non-interference property in the sense of information-flow theory. A publicly available prototype implementation of the system can be used to experiment with type derivations for example programs.
Document type :
Reports
Complete list of metadatas

Cited literature [14 references]  Display  Hide  Download

https://hal.inria.fr/hal-00851658
Contributor : Scherer Gabriel <>
Submitted on : Monday, August 19, 2013 - 4:45:09 PM
Last modification on : Tuesday, November 20, 2018 - 11:06:02 PM
Long-term archiving on : Wednesday, April 5, 2017 - 8:55:39 PM

Identifiers

  • HAL Id : hal-00851658, version 1

Collections

Citation

Gabriel Scherer, Jan Hoffmann. Tracking Data-Flow with Open Closure Types. [Research Report] RR-8345, INRIA. 2013, pp.24. ⟨hal-00851658⟩

Share

Metrics

Record views

411

Files downloads

838