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.
Original language | English |
---|---|
Title of host publication | Implementation and Application of Functional Languages, 21th International Symposium, IFL 2011, Revised Selected Papers |
Editors | M. Morazán, S.-B. Scholz |
Place of Publication | Berlin / Heidelberg |
Publisher | Springer |
Pages | 198-217 |
Number of pages | 20 |
ISBN (Electronic) | 978-3-642-16478-1 |
ISBN (Print) | 978-3-642-16477-4 |
DOIs | |
Publication status | Published - 2011 |