|
ABSTRACT
We present an algorithm for lambda expression reduction that avoids any copying that could later cause duplication of work. It is optimal in the sense defined by Lévy. The basis of the algorithm is a graphical representation of the kinds of commonality that can arise from substitutions; the idea can be adapted to represent other kinds of expressions besides lambda expressions. The algorithm is also well suited to parallel implementations, consisting of a fixed set of local graph rewrite rules.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
H. P. Barendregt. The Lambda Calculus its Syntax: and Semantics, volume 103 of Studies in logic and the foundations of mathemalies. North-Holland, 1981.
|
| |
2
|
ti. P. Barendregt et al. LEAN, an intermediate language based on graph rewriting. Parallel Compulin9, 9:163-177, 1989.
|
| |
3
|
Vinod Kathail. private communication, 1989.
|
| |
4
|
jean-Jacques L~vy. R~ductions correctes et optimales dans le lambda-calcul. PhD thesis, Universit6 de Paris, 1978.
|
| |
5
|
Jean-Jacques Ldvy. Optimal reductions in the lambda-calculus. In J.P. Seldin and J.R. Hindley, editors, To H.B. Curry: Essays on Combinalory Logic, Lambda Calculus and Formalism, pages 159- 191. Academic Press, 1980.
|
| |
6
|
John Staples. Efficient evaluation of lambda expressions: a new strategy. Technical Report 23, University of Queensland, Department of Computer Science, St. Lucia, Queensland, 4067, Australia, 1980.
|
| |
7
|
|
| |
8
|
D. A. Turner. A new implementation technique for applicative languages. Software Practice and Experience, 9(1), 1979.
|
| |
9
|
C. P. Wadsworth. Semantics and Pragmatics of the )~-calculus. PhD thesis, Oxford University , 1971.
|
CITED BY 42
|
|
|
|
|
Andrea Asperti , Paolo Coppola , Simone Martini, (Optimal) duplication is not elementary recursive, Proceedings of the 27th ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.96-107, January 19-21, 2000, Boston, MA, USA
|
|
|
|
|
|
Georges Gonthier , Martín Abadi , Jean-Jacques Lévy, The geometry of optimal lambda reduction, Proceedings of the 19th ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.15-26, January 19-22, 1992, Albuquerque, New Mexico, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Zena M. Ariola , John Maraist , Martin Odersky , Matthias Felleisen , Philip Wadler, A call-by-need lambda calculus, Proceedings of the 22nd ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.233-246, January 23-25, 1995, San Francisco, California, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Manuel Bodirsky , Katrin Erk , Joachim Niehren , Alexander Koller, Underspecified beta reduction, Proceedings of the 39th Annual Meeting on Association for Computational Linguistics, p.74-81, July 06-11, 2001, Toulouse, France
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|