Type-Based Allocation Analysis for Co-recursion in Lazy Functional Languages
Type-Based Allocation Analysis for Co-recursion in Lazy Functional Languages
复制标题
惰性函数语言中基于类型的共递归分配分析
DOI:
10.1007/978-3-662-46669-8_32
复制
发表时间:
2015
期刊:
影响因子:
--
通讯作者:
K. Hammond
中科院分区:
文献类型:
--
作者:
Pedro B. Vasconcelos;Steffen Jost;Mário Florido;K. Hammond
This paper presents a novel type-and-effect analysis for predicting upper-bounds on memory allocation costs for co-recursive definitions in a simple lazily-evaluated functional language. We show the soundness of this system against an instrumented variant of Launchbury’s semantics for lazy evaluation which serves as a formal cost model. Our soundness proof requires an intermediate semantics employing indirections. Our proof of correspondence between these semantics that we provide is thus a crucial part of this work.