| Transforming interpreters into inverse interpreters by partial evaluation |
| Full text |
Pdf
(196 KB)
|
| Source
|
ACM/SIGPLAN Workshop Partial Evaluation and Semantics-Based Program Manipulation
archive
Proceedings of the 2003 ACM SIGPLAN workshop on Partial evaluation and semantics-based program manipulation
table of contents
San Diego, California, USA
Pages: 10 - 19
Year of Publication: 2003
ISBN:1-58113-667-6
Also published in ...
|
|
Authors
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 6, Downloads (12 Months): 26, Citation Count: 2
|
|
|
ABSTRACT
The experiments in this paper apply the idea of prototyping programming language tools from robust semantics: we used a partial evaluator (Similix) to turn interpreters into inverse interpreters. This way we generated inverse interpreters for several small languages including interpreters for Turing machines, an applied lambda calculus, a flowchart language, and a subset of Java bytecode. Limiting factors of online partial evaluation were the polyvariant specialization scheme with its lack of generalization;advantages were the availability of higher-order values to specialize a breadth-first tree traversal.This application of self-applicable partial evaluation is different from the classical Futamura projections that tell us how to translate a program by specialization of an interpreter.
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
|
S. M. Abramov and R. Gl ück. From standard to non-standard semantics by semantics modifiers. International Journal of Foundations of Computer Science, 12(2):171--211, 2001.
|
| |
3
|
Sergei Abramov , Robert Glück, Principles of inverse computation and the Universal resolving algorithm, The essence of computation: complexity, analysis, transformation, Springer-Verlag New York, Inc., New York, NY, 2002
|
| |
4
|
S. M. Abramov and R. Glück. The universal resolving algorithm and its correctness: inverse computation in a functional language. Science of Computer Programming, 43(2-3):193--229, 2002.
|
| |
5
|
|
| |
6
|
|
| |
7
|
A. Bondorf. Similix 5.0 Manual. DIKU, University of Copenhagen, Denmark, 1993. Included in the Similix distribution, 82 pages.
|
| |
8
|
|
| |
9
|
A. Bondorf and J. Jorgensen. Efficient analyses for realistic off-line partial evaluation. Journal of Functional Programming, 11:315--346, 1993.
|
| |
10
|
A. Bondorf and J. Palsberg. Generating action compilers by partial evaluation. Journal of Functional Programming, 6(2):269--298, 1996.
|
| |
11
|
N. H. Christensen and R. Glück. On the equivalence of online and offine partial evaluation. Manuscript, DIKU, Department of Computer Science, University of Copenhagen, 2001.
|
| |
12
|
|
| |
13
|
|
| |
14
|
|
| |
15
|
M. Hanus. The integration of functions into logic programming: from theory to practice. Journal of Logic Programming,19&20: 583--628, 1994.
|
| |
16
|
|
| |
17
|
|
 |
18
|
|
| |
19
|
|
| |
20
|
|
| |
21
|
J. McCarthy. The inversion of functions defined by Turing machines. In C. E. Shannon and J. McCarthy, editors, Automata Studies, pages 177--181. Princeton University Press, 1956.
|
| |
22
|
|
| |
23
|
|
| |
24
|
|
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
-
An intelligent component database for behavioral synthesis
Proceedings of the 27th ACM/IEEE conference on Design automation
Gwo-Dong Chen
, Daniel D. Gajski
-
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
|