Abstract:
With the increase of research interest in context-oriented programming (COP), several COP languages with different characteristics have been proposed. Although they share common language features to modularize context-dependent variations of behavior, they take quite different ways to realize them. Because of such differences, each language cannot solely cover all use cases of implementing context-dependent behavioral variations. In this paper, we propose a new COP language Javanese that unifies several COP mechanisms into general linguistic constructs. Specifically, it provides context declarations to identify context and its specification of the range of execution sequences where this context is active, activate declarations to define the relation between contexts and layers, and context group declarations that modularize these declarations and specify the set of instances where they are applied. This paper describes design of Javanese and an implementation strategy.
Reference:
A Unified Context Activation Mechanism (Tetsuo Kamina, Tomoyuki Aotani and Hidehiko Masuhara), In COP'13: Proceedings of the International Workshop on Context-Oriented Programming, ACM, 2013.
Bibtex Entry:
@inproceedings{kamina2013cop,
address = {New York, NY, USA},
publisher = {ACM},
location = {Montpellier, France},
isbn = {978-1-4503-2040-5},
booktitle = {{COP'13}: Proceedings of the International Workshop on Context-Oriented Programming},
pdf = {cop2013-activation.pdf},
month = jul,
author = {Tetsuo Kamina and Tomoyuki Aotani and Hidehiko Masuhara},
title = {A Unified Context Activation Mechanism},
pages = {Article No.~2},
doi = {10.1145/2489793.2489795},
year = 2013,
abstract = {With the increase of research interest in context-oriented programming (COP), several COP languages with different characteristics have been proposed. Although they share common language features to modularize context-dependent variations of behavior, they take quite different ways to realize them. Because of such differences, each language cannot solely cover all use cases of implementing context-dependent behavioral variations. In this paper, we propose a new COP language Javanese that unifies several COP mechanisms into general linguistic constructs. Specifically, it provides context declarations to identify context and its specification of the range of execution sequences where this context is active, activate declarations to define the relation between contexts and layers, and context group declarations that modularize these declarations and specify the set of instances where they are applied. This paper describes design of Javanese and an implementation strategy.}
}