A modular fully‐lazy lambda lifter in Haskell
Simon Jones, David Lester · Software Practice and Experience · 1991
Abstract An important step in many compilers for functional languages is lambda lifting. In his thesis, Hughes showed that by doing lambda lifting in a particular way, a useful property called full laziness can be preserved. Full laziness has been seen as intertwined with lambda lifting ever since. We show that, on the contrary, full laziness can be regarded as a completely separate process to lambda lifting, thus making it easy to use different lambda lifters following a full‐laziness transformation, or to use the full‐laziness transformation in compilers which do not require lambda lifting. On the way, we present the complete code for our modular fully‐lazy lambda lifter, written in the HASKELL functional programming language.
Cited by 37 works. doi:10.1002/spe.4380210505
Authors
References
- The implementation of functional programming languages
- Lambda lifting: Transforming programs to recursive equations
- Mix: A self-applicable partial evaluator for experiments in compiler generation
- Multiprocessor execution of functional programs
- Proceedings of the 1992 Glasgow Workshop on Functional Programming
- Improving Full Laziness
- A formal development of an efficient supercombinator compiler