ACM Home Page
Please provide us with feedback. Feedback
Intensions and extensions in a reflective tower
Full text PdfPdf (1.59 MB)
Source Conference on LISP and Functional Programming archive
Proceedings of the 1988 ACM conference on LISP and functional programming table of contents
Snowbird, Utah, United States
Pages: 327 - 341  
Year of Publication: 1988
ISBN:0-89791-273-X
Authors
Olivier Danvy  DIKU - University of Copenhagen, Universitetsparken 1, DK-2100 Copenhagen ø, DENMARK
Karoline Malmkjaer  DIKU - University of Copenhagen, Universitetsparken 1, DK-2100 Copenhagen ø, DENMARK
Sponsors
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
SIGART: ACM Special Interest Group on Artificial Intelligence
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 6,   Downloads (12 Months): 21,   Citation Count: 13
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/62678.62725
What is a DOI?

ABSTRACT

This article presents a model of the reflective tower based on the formal semantics of its levels. They are related extensionally by their mutual interpretation and intensionally by reification and reflection. The key points obtained here are: a formal relation between the semantic domains of each level; a formal identification of reification and reflection; the visualisation of intensional snapshots of a tower of interpreters; a formal justification and a generalization of Brown's meta-continuation; a (structural) denotational semantics for a compositional subset of the model; the distinction between making continuations jumpy and pushy; the discovery of the tail-reflection property; and a Scheme implementation of a properly tail-reflective and single-threaded reflective tower. Section 1 presents the new approach taken here: rather than implementing reification and reflection leading to a tower, we consider an infinite tower described by the semantics of each level and relate these by reification and reflection. Meta-circularity then gives sufficient conditions for implementing it. Section 2 investigates some aspects of the environments and control in a reflective tower. An analog of the funarg problem is pointed out, in relation with the correct environment at reification time. Jumpy and pushy continuations are contrasted, and the notions of ephemeral level and proper tail-reflection are introduced. Our approach is compared with related work and after a conclusion, some issues are proposed.


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.

 
Danvy 87
Olivier Danvy: A ccross the Bridge between Reflection and Partial Evaluation, Proceedings of the Workshop on Partial Evaluation and Mixed Computation, Dines Bj0rner, Andrei P. Ershov and Neil D. Jones (eds.), North-Holland (to appear), GI. Avernms, Denmark (October 1987)
 
Danvy & Malmkjaer 88
Olivier Danvy, Karoline Malmkj~r: A Blond Primer, draft, DIKU, University of Copenhagen, Copenhagen, Denmark (February 1988)
des Rivières & Smith 84
 
des Rivières 88
Jim des Rivi~res: Control-Re&ted Meta-Levei Facilities in LISP, from Meta-Level Architectures and Reflection, Patti Maes & Daniele Nardi (ed~.), North-Holland (1988)
 
Felleisen et al. 87
Matthias Felleisen, Daniel P. Friedman, Bruce F. Duba, John Merrill: Beyond Continuations, Technical Report No 216, Computer Science Department, Indiana University, Bloomington, Indiana (February 1987)
Friedman & Wand 84
 
Jones et al. 88
Neil D. Jones, Peter Sestoft, Harald S0ndergaard: MIX: a Self-Applicable Partial Evalttator for Experiments in Compiler Generation, to appear in the International Journal LISP and Symbolic Computation, (1988)
 
Moses 70
Muchnick & Pleban 80
Rees & Clinger 86
 
Schmidt 86
 
Smith 82
Brian C. Smith: Reflection and Semantics in a Procedural Language, Ph.D. thesis, MIT/- LCS/TR-272, Cambridge, Massachusetts (January 1982)
Smith 84
 
Steele & Sussman 78
Guy L. Steele Jr., Gerald J. Sussman: The Revised Report on SCHEME, a Dialect of LISP, MIT-AIL, AI Memo No 452, Cambridge, Massachusetts (January 1978)
 
Sturdy 88
John C. G. Sturdy: Ph.D. thesis (forthcoming), University of Bath, School of Mathematical Sciences, Bath, England (1988)
 
Talcott 85
Wand & Friedman 86
 
Wand, Friedman & Duba 86
Mitchell Wand, Daniel P. Friedman, Bruce F. Duba: Getting the Levels Right (Preliminary Report), Preprints of the Workshop on Meta-Level Architectures and Reflection, Patti Maes & Daniele Nardi (eds.), Alghero, Sardinia (October 1986)
 
Wand & Friedman 88
Mitchell Wand, Daniel P. Friedman: The Mystery of the Tower Revealed: a Non-Reflective Description of the Reflective Tower, to appear in the International Journal LISP and Symbolic Computation (1988)

CITED BY  13

Collaborative Colleagues:
Olivier Danvy: colleagues
Karoline Malmkjaer: colleagues