Embedding continuations in procedural objects
Christopher T. Haynes, Daniel P. Friedman · ACM Transactions on Programming Languages and Systems · 1987
Continuations, when available as first-class objects, provide a general control abstraction in programming languages. They liberate the programmer from specific control structures, increasing programming language extensibility. Such continuations may be extended by embedding them in procedural objects. This technique is first used to restore a fluid environment when a continuation object is invoked. We then consider techniques for constraining the power of continuations in the interest of security and efficiency. Domain mechanisms, which create dynamic barriers for enclosing control, are implemented using fluids. Domains are then used to implement an unwind-protect facility in the presence of first-class continuations. Finally, we present two mechanisms, wind-unwind and dynamic-wind, that generalize unwind-protect.
Cited by 56 works. doi:10.1145/29873.30392 Open-access PDF
Authors
References
- The unpublished manuscript
- Common LISP. The language
- Correspondence between ALGOL 60 and Church's Lambda-notation
- Viewing control structures as patterns of passing messages
- GEDANKEN—a simple typeless language based on the principle of completeness and the reference concept
- From PLANNER to CONNIVER
- Definitional interpreters for higher-order programming languages
- Revised 3 report on the algorithmic language scheme
- Recursive Programming Techniques
- W2107219179