Hostname: page-component-77f85d65b8-5ngxj Total loading time: 0 Render date: 2026-04-20T07:04:51.841Z Has data issue: false hasContentIssue false

Polymorphic type, region and effect inference

Published online by Cambridge University Press:  07 November 2008

Jean-Pierre Talpin
Affiliation:
CRI, Ecole Nationale Supérieure des Mines de Paris, Paris, France
Pierre Jouvelot
Affiliation:
CRI, Ecole Nationale Supérieure des Mines de Paris, Paris, France MIT Laboratory for Computer Science, MIT, Cambridge, MA, USA
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

We present a new static system which reconstructs the types, regions and effects of expressions in an implicitly typed functional language that supports imperative operations on reference values. Just as types structurally abstract collections of concrete values, regions represent sets of possibly aliased reference values and effects represent approximations of the imperative behaviour on regions.

We introduce a static semantics for inferring types, regions and effects, and prove that it is consistent with respect to the dynamic semantics of the language. We present a reconstruction algorithm that computes the types and effects of expressions, and assigns regions to reference values. We prove the correctness of the reconstruction algorithm with respect to the static semantics. Finally, we discuss potential applications of our system to automatic stack allocation and parallel code generation.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 1992
Submit a response

Discussions

No Discussions have been published for this article.