Implementation of a feature-based context-oriented programming language

Benoît Duhoux, Kim Mens, Bruno Dumas

Résultats de recherche: Contribution dans un livre/un catalogue/un rapport/dans les actes d'une conférenceArticle dans les actes d'une conférence/un colloque

Résumé

We implemented a feature-based context-oriented programming language, which clearly separates the notion of contexts from the notion of features. Contexts reify particular situations occurring in the surrounding environment, to which a software system can adapt. Features reify the system's behaviour; they are the language components that describe the system's functionality at a fine-grained level. Contexts are mapped to features, such that, when certain contexts become active at run-time, the corresponding features get selected and activated, thus adapting the system's functionality to those particular contexts. In this paper we show the object-oriented architecture, design and implementation issues of such a featurebased context-oriented programming language, which we implemented on top of the Ruby programming language as an application framework for context-oriented programmers. An important part of our language design is the explicit representation of contexts and features in terms of hierarchical tree structures that capture the structural constraints to be maintained at runtime. We illustrate our language design with a small example of a feature-based context-oriented program written in this language.

langue originaleAnglais
titreProceedings of the Workshop on Context-Oriented Programming, COP 2019
EditeurACM Press
Pages9-16
Nombre de pages8
ISBN (Electronique)9781450368636
Les DOIs
Etat de la publicationPublié - 15 juil. 2019
Evénement11th International Workshop on Context-oriented Programming, COP 2019 - London, Royaume-Uni
Durée: 15 juil. 2019 → …

Série de publications

NomProceedings of the Workshop on Context-Oriented Programming, COP 2019

Une conférence

Une conférence11th International Workshop on Context-oriented Programming, COP 2019
Pays/TerritoireRoyaume-Uni
La villeLondon
période15/07/19 → …

Empreinte digitale

Examiner les sujets de recherche de « Implementation of a feature-based context-oriented programming language ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation