COP2018 Talk

Posted on July 16, 2018

A Simple Context-Oriented Programming Extension to an FRP Language for Small-Scale Embedded Systems

Takuo Watanabe
10th International Workshop on Context-Oriented Programming (COP 2018), Amsterdam, Jul. 16, 2018.

Abstract

This paper presents the design of a simple context-oriented programming extension to Emfrp, a purely functional reactive programming language for resource-constrained embedded systems. The language provides declarative and straightforward ways to describe various reactive behaviors in embedded systems. However, because of the static nature of the language, Emfrp lacks suitable capabilities to modularize adaptive behaviors. The proposed extension introduces a simple layer mechanism with implicit layer activation. It also provides a feature to describe responses to events that correspond to the moments of layer activations and deactivations. The extension can improve the modularity of Emfrp programs by separating the descriptions of context-dependent behaviors, and hence eliminating various cross-cutting code fragments.

Publication

Takuo Watanabe, A Simple Context-Oriented Programming Extension to an FRP Language for Small-Scale Embedded Systems, In Proceedings of the 10th International Workshop on Context-Oriented Programming (COP 2018), 10th International Workshop on Context-Oriented Programming (COP’18), ACM, pp. 23-30, DOI:10.1145/3242921.3242925, 2018.

The full-text of this paper is available without charge via ACM Author-Izer link.

ACM DL Author-ize serviceA Simple Context-Oriented Programming Extension to an FRP Language for Small-Scale Embedded Systems
Takuo Watanabe
COP ’18 Proceedings of the 10th International Workshop on Context-Oriented Programming: Advanced Modularity for Run-time Composition, 2018