Request-Based Mediated Execution
Sameer Sundresh · Illinois Digital Environment for Access to Learning and Scholarship (University of Illinois at Urbana-Champaign) · 2009
How do you dynamically customize the programming language available in a context within an existing system, without changing the underlying system? This dissertation introduces a language design approach that addresses this problem. The basic idea is to structure programs as systems of multiple interacting levels of abstraction, where all of the primitive constructs used by higher levels are actually implemented as defined constructs by lower levels. This is accomplished by allowing lower levels to mediate the execution of higher levels. This structure is much like system-level virtualization, but much finer-grained. The approach builds on three existing programming language technologies: delimited continuations, dynamic scoping, and call-by-name nonstrict evaluation. The dissertation examines how to define a variety of different language constructs using this approach, including variable binding, control structures, and basic concurrency features. The approach is then applied to mediating execution of third-party Javascript code on web pages.
Cited by 0 works. Open-access PDF
Authors
References
- Smalltalk-80: The Language and its Implementation
- Xen and the art of virtualization
- The C++ Programming Language
- Common LISP. The language
- Actors: A Model of Concurrent Computation in Distributed Systems
- Viewing control structures as patterns of passing messages
- Aspect-Oriented Programming
- An Overview of AspectJ
- The art of the metaobject protocol
- Virtualizing I/O Devices on VMware Workstation's Hosted Virtual Machine Monitor