|
ABSTRACT
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.
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
|
BURGE, W.H. Recursiue Programming Techniques. Addison-Wesley, Reading, Mass., 1975.
|
| |
3
|
|
| |
4
|
FRIEDMAN, D. P., HAYNES, C. T., AND KOHLBECKER, E. Programming with continuations. In Program Transformation and Programming Environments, P. Pepper, Ed. Springer-Verlag, New York, 1984, 263-274.
|
| |
5
|
HANSON, C., AND LAMPING, J. Dynamic binding in Scheme, Unpublished manuscript, 1984.
|
| |
6
|
|
| |
7
|
|
| |
8
|
|
| |
9
|
HEWITT, C. Viewing control structures as patterns of passing messages. Artif Intell. 8, 3 (June 1977), 323-364. Also in Artificial Intelligence: An MIT Perspective. Winston and Brown, Eds. MIT Press, Cambridge, Mass., 1979.
|
 |
10
|
Eugene Kohlbecker , Daniel P. Friedman , Matthias Felleisen , Bruce Duba, Hygienic macro expansion, Proceedings of the 1986 ACM conference on LISP and functional programming, p.151-161, August 1986, Cambridge, Massachusetts, United States
[doi> 10.1145/319838.319859]
|
 |
11
|
|
 |
12
|
|
 |
13
|
|
 |
14
|
|
| |
15
|
|
| |
16
|
SUSSMAN, G. J., AND MCDERMOTT, D. V. From PLANNER to CONNIVER--A genetic approach. In Proceedings of the Fall Joint Computer Conference, vol. 41, part 2 (Anaheim, Calif., Dec. 5-7). AFIPS Press, Reston, Va., 1972, pp. 1171-1179.
|
| |
17
|
|
 |
18
|
|
CITED BY 22
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bruce Duba , Robert Harper , David MacQueen, Typing first-class continuations in ML, Proceedings of the 18th ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.163-173, January 21-23, 1991, Orlando, Florida, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
H. Abelson , R. K. Dybvig , C. T. Haynes , G. J. Rozas , N. I. Adams, IV , D. P. Friedman , E. Kohlbecker , G. L. Steele, Jr. , D. H. Bartley , R. Halstead , D. Oxley , G. J. Sussman , G. Brooks , C. Hanson , K. M. Pitman , M. Wand , William Clinger , Jonathan Rees, Revised report on the algorithmic language scheme, ACM SIGPLAN Lisp Pointers, v.IV n.3, p.1-55, July, 1991
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
REVIEW
"Ronald Thomas House : Reviewer"
The idea of continuations is old and basically amounts to marking a point
during program execution and returning to that state later in execution.
The authors discuss first-class continuations, which can be treated like
any other data object and
more...
|