Constraining control

Daniel P. Friedman, Christopher T. Haynes

1985 · 49 citations · 12 references

DOIFull text

Open access

Concepts

Abstract

Continuations, when available an first-claae objects, pmvide a general control abstraction in programming languaga. They liberate the programmer from specific control rtructuns, increasing programming language extemibility. Such continuations may be extended by embedding them in functional objects. Thir technique L fimt used to nrtore a fluid environment when a continuation object ir invoked. We then consider techniquea for constraining the power of continuations in the interest of security and efficiency. Do. main mechanisma, which create dynamic barrien for enclosing control, are implemented using fluids. Domti am then used to implement an unwind-protect facility in the presence of first-class continuations. Finally, we demonstrate two mechanisma, wind-unwind and dynamic-rind, that generalire unwind-protect.

References

12