ACM Home Page
Please provide us with feedback. Feedback
Transforming interpreters into inverse interpreters by partial evaluation
Full text PdfPdf (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
Robert Glück  Waseda University, Tokyo, Japan
Youhei Kawada  Waseda University, Tokyo, Japan
Takuya Hashimoto  Waseda University, Tokyo, Japan
Sponsors
SIGPLAN: ACM Special Interest Group on Programming Languages
ACM: Association for Computing Machinery
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 6,   Downloads (12 Months): 26,   Citation Count: 2
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues   peer to peer  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/777388.777391
What is a DOI?

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
 
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


Collaborative Colleagues:
Robert Glück: colleagues
Youhei Kawada: colleagues
Takuya Hashimoto: colleagues

Peer to Peer - Readers of this Article have also read: