Title: How should context-escaping closures proceed?
Authors: Clarke, Dave
Costanza, Pascal
Tanter, Éric #
Issue Date: 2009
Publisher: ACM
Host Document: COP '09: International Workshop on Context-Oriented Programming pages:1-6
Conference: ECOOP edition:22 location:Genova, Italy date:6-10 July 2009
Article number: 1
Abstract: Context-oriented programming treats execution context explicitly and provides means for context-dependent adaptation at runtime. This is achieved, for example, using dynamic layer activation and contextual dispatch, where the context consists of a layer environment of a stack of active layers. Layers can adapt existing behaviour using proceed to access earlier activated layers. A problem arises when a call to proceed is made from within a closure that escapes the layer environment in which it was defined. It is not clear how to interpret proceed when the closure is subsequently applied in a different environment, because the layers it implicitly refers to (such as the original layer and/or the remaining layers) may no longer be active. In this paper, we describe this problem in detail and present some approaches for dealing with it, though ultimately we leave the question open.
Publication status: published
KU Leuven publication type: IC
Appears in Collections:Informatics Section
# (joint) last author

Files in This Item:
File Description Status SizeFormat
ESCAPING.pdfMain article Published 210KbAdobe PDFView/Open


All items in Lirias are protected by copyright, with all rights reserved.