The Very Lazy Lambda-Calculus and the STEC Machine
Files
Publication date
2011
Editors
Morazán, M.
Scholz, S.-B.
Advisors
Supervisors
Document Type
Part of book
Metadata
Show full item recordCollections
License
Abstract
Current implementations of non-strict functional languages rely on call-by-name reduction to implement the λ-calculus. An interesting alternative is head occurrence reduction, a reduction strategy specifically designed for the implementation of non-strict, purely functional languages. This work introduces the very lazy λ -calculus, which allows a systematic description of this approach. It is not based on regular β-reduction but a generalised rewriting rule called γ-reduction that requires fewer reductions to obtain useful results from a term. It therefore promises more efficient program execution than conventional execution models. To demonstrate the applicability of the approach, an adaptation of the Pointer Abstract Machine (PAM) is specified that implements the very lazy λ-calculus and constitutes a foundation for a new class of efficient functional language implementations.
Keywords
International (English)
Citation
Rochel, J 2011, The Very Lazy Lambda-Calculus and the STEC Machine. in M Morazán & S-B Scholz (eds), Implementation and Application of Functional Languages, 21th International Symposium, IFL 2011, Revised Selected Papers. Springer, Berlin / Heidelberg, pp. 198-217. https://doi.org/10.1007/978-3-642-16478-1_12