Polymorphic type, region and effect inference
Polymorphic type, region and effect inference
复制标题
多态类型、区域和效应推断
DOI:
--
复制
发表时间:
1992
影响因子:
1.1
通讯作者:
P. Jouvelot
中科院分区:
文献类型:
--
作者:
J. Talpin;P. Jouvelot
Abstract 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.