| The second Futamura projection for type-directed partial evaluation |
| Full text |
Pdf
(2.22 MB)
|
| Source
|
ACM/SIGPLAN Workshop Partial Evaluation and Semantics-Based Program Manipulation
archive
Proceedings of the 2000 ACM SIGPLAN workshop on Partial evaluation and semantics-based program manipulation
table of contents
Boston, Massachusetts, United States
Pages: 22 - 32
Year of Publication: 2000
ISBN:1-58113-201-8
Also published in ...
|
|
Authors
|
|
Bernd Grobauer
|
Ny Munkegade, Building 540, 8000 Aarhus C, Denmark and BRICS(Basic Research in Computer Science) Centre ofthe Danish National Research Foundation, Department of Computer Science, University of Aarhus
|
|
Zhe Yang
|
Department of Computer Science, New York University, 5251 Mercer Street, New York, NY
|
|
| Sponsor |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 1, Downloads (12 Months): 11, Citation Count: 1
|
|
|
ABSTRACT
The second Futamura projection describes the automatic generation of non-trivial generating extensions by applying a partial evaluator to itself. We derive an ML implementation of the second Futamura projection for Type-Directed Partial Evaluation (TDPE). Due to the differences between `traditional', syntax-directed partial evaluation and TDPE, this derivation involves several conceptual and technical steps. These include a suitable formulation of the second Futamura projection and techniques for using TDPE to specialize type-indexed programs. In the context of the second Futamura projection, we also compare and relate TDPE with conventional offline partial evaluation.
We demonstrate our technique with several examples, including compiler generation for Tiny, a prototypical imperative language.
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
|
|
| |
2
|
|
| |
3
|
|
| |
4
|
|
| |
5
|
O. Danvy and M. Rhiger. Compiling actions by partial evaluation, revisited. Technical Report BRICS-RS-98-13, BRICS, Department of Computer Science, University of Aarhus, 1998.
|
| |
6
|
|
 |
7
|
|
| |
8
|
|
| |
9
|
|
| |
10
|
B. Grobauer and Z. Yang. The second Futamura projection for type-directed partial evaluation. Research Series RS-99- 40, BRICS, Department of Computer Science, University of Aaxhus, 1999.
|
| |
11
|
C. K. Holst and J. Launchbury. Handwriting cogen to avoid problems with s~atic typing. In Draft Proceedings, ~th Annual Glasgow Workshop on Functional Programming, pages 210-218. Glasgow University, 1991.
|
| |
12
|
N. D. Jones. Challenging problems in partial evaluation and mixed computation. In D. Bj0rner, A. P. Ershov, and N. D. Jones, editors, Partial Evaluation and Mixed Computation, pages 1-14. North-Holland, 1988.
|
| |
13
|
|
| |
14
|
N. D. Jones, P. Sestoft, and H. S0ndergaard. MIX: A selfapplicable partial evaluator for experiments in compiler generation. Lisp and Symbolic Computation, 2(1):9-50~ 1989.
|
| |
15
|
|
| |
16
|
M. Rhiger. Deriving a statically typed type-directed partial evaluator. In O. Danvy, editor, Proceedings of PEPM '99, Technical report BRICS-NS-99-1, BRICS, Department of Computer Science, University of Aarhus, pages 25-29, 1999.
|
| |
17
|
M. Rhiger. Run-time code generation for type-directed partial evaluation. Progress report, BRICS PhD School, University of Aarhus. Available at http://www .brits. dk/-mrhiger, Dec. 1999.
|
 |
18
|
|
Peer to Peer - Readers of this Article have also read:
-
Data structures for quadtree approximation and compression
Communications of the ACM
28, 9
Hanan Samet
-
A hierarchical single-key-lock access control using the Chinese remainder theorem
Proceedings of the 1992 ACM/SIGAPP Symposium on Applied computing
Kim S. Lee
, Huizhu Lu
, D. D. Fisher
-
The GemStone object database management system
Communications of the ACM
34, 10
Paul Butterworth
, Allen Otis
, Jacob Stein
-
Putting innovation to work: adoption strategies for multimedia communication systems
Communications of the ACM
34, 12
Ellen Francik
, Susan Ehrlich Rudman
, Donna Cooper
, Stephen Levine
-
An intelligent component database for behavioral synthesis
Proceedings of the 27th ACM/IEEE conference on Design automation
Gwo-Dong Chen
, Daniel D. Gajski
|