Abstract
We present a translation scheme for the polymorphically typed call-by-value λ-calculus. All runtime values, including function closures, are put into regions. The store consists of a stack of regions. Region inference and effect inference are used to infer where regions can be allocated and de-allocated. Recursive functions are handled using a limited form of polymorphic recursion. The translation is proved correct with respect to a store semantics, which models a region-based run-time system. Experimental results suggest that regions tend to be small, that region allocation is frequent and that overall memory demands are usually modest, even without garbage collection.
Cite
CITATION STYLE
Tofte, M. (1994). Implementation of typed call-by value λ-calculus using a stack of regions. In Conference Record of the Annual ACM Symposium on Principles of Programming Languages (pp. 188–201). Publ by ACM. https://doi.org/10.1145/174675.177855
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.