Skip to content

Opening book details…

Can I read Proceedings of the 34th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '07 - First-class nonstandard interpretations by opening closures on EtoBox?

Proceedings of the 34th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '07 - First-class nonstandard interpretations by opening closures by Siskind, Jeffrey Mark; Pearlmutter, Barak A. is a scholarly article available to read on EtoBox.

What is Proceedings of the 34th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '07 - First-class nonstandard interpretations by opening closures about?

We motivate and discuss a novel functional programming construct that allows convenient modular run-time nonstandard interpretation via reflection on closure environments. This map-closure construct encompasses both the ability to examine the contents of a closure environment and to construct a new closure with a modified environment. From the user's perspective, map-closure is a powerful and useful construct that supports such tasks as tracing, security logging, sandboxing, error checking, profiling, code instrumentation and metering, run-time code patching, and resource monitoring. From the implementor's perspective, map-closure is analogous to call/cc. Just as call/cc is a non-referentiallytransparent mechanism that reifies the continuations that are only implicit in programs written in direct style, map-closure is a nonreferentially-transparent mechanism that reifies the closure environments that are only implicit in higher-order programs. Just as CPS conversion is a non-local but purely syntactic transformation that can eliminate references to call/cc, closure conversion is a non-local but purely syntactic transformation that can eliminate references to map-closure. We show ho

Author
Siskind, Jeffrey Mark; Pearlmutter, Barak A.
Publisher
ACM Press
Published
2007
Language
EN

More by Siskind, Jeffrey Mark; Pearlmutter, Barak A.

Browse all works by Siskind, Jeffrey Mark; Pearlmutter, Barak A.