Compiling Haskell by program transformation: a report from the trenches (1996)
| Venue: | In Proc. European Symp. on Programming |
| Citations: | 52 - 4 self |
BibTeX
@INPROCEEDINGS{Jones96compilinghaskell,
author = {Simon L. Peyton Jones},
title = {Compiling Haskell by program transformation: a report from the trenches},
booktitle = {In Proc. European Symp. on Programming},
year = {1996},
pages = {18--44},
publisher = {Springer-Verlag}
}
Years of Citing Articles
OpenURL
Abstract
Many compilers do some of their work by means of correctness-preserving, and hopefully performance-improving, program transformations. The Glasgow Haskell Compiler (GHC) takes this idea of "compilation by transformation" as its war-cry, trying to express as much as possible of the compilation process in the form of program transformations. This paper reports on our practical experience of the transformational approach to compilation, in the context of a substantial compiler. The paper appears in the Proceedings of the European Symposium on Programming, Linkoping, April 1996. 1 Introduction Using correctness-preserving transformations as a compiler optimisation is a well-established technique (Aho, Sethi & Ullman [1986]; Bacon, Graham & Sharp [1994]). In the functional programming area especially, the idea of compilation by transformation has received quite a bit of attention (Appel [1992]; Fradet & Metayer [1991]; Kelsey [1989]; Kelsey & Hudak [1989]; Kranz [1988]; Steele [1978]). A ...







