Affiliation:
1. INRIA/IRISA, Rennes, France
Abstract
We introduce a unified framework to describe, relate, compare, and classify functional language implementations. The compilation process is expressed as a succession of program transformations in the common framework. At each step, different transformations model fundamental choices. A benefit of this approach is to structure and decompose the implementation process. The correctness proofs can be tackled independently for each step and amount to proving program transformations in the functional world. This approach also paves the way to formal comparisons by making it possible to estimate the complexity of individual transformations or compositions of them. Our study aims at covering the whole known design space of sequential functional language implementations. In particular, we consider call-by-value, call-by-name, call-by-need reduction strategies as well as environment- and graph-based implementations. We describe for each compilation step the diverse alternatives as program transformations. In some cases, we illustrate how to compare or relate compilation techniques, express global optimizations, or hybrid implementations. We also provide a classification of well-known abstract machines.
Publisher
Association for Computing Machinery (ACM)
Cited by
6 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Formally Defining and Iterating Infinite Models;Model Driven Engineering Languages and Systems;2012
2. Typing ZINC Machine with Generalized Algebraic Data Types;IEICE Transactions on Information and Systems;2011
3. Sequent calculi and abstract machines;ACM Transactions on Programming Languages and Systems;2009-05
4. The next 700 Krivine machines;Higher-Order and Symbolic Computation;2007-10-24
5. Making a fast curry: push/enter vs. eval/apply for higher-order languages;Journal of Functional Programming;2006-07