Back to Search
Start Over
A Simple Context-Oriented Programming Extension to an FRP Language for Small-Scale Embedded Systems
- Source :
- COP@ECOOP
- Publication Year :
- 2018
- Publisher :
- ACM, 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.
- Subjects :
- 関数リアクティブプログラミング
Computer science
business.industry
Context-Oriented Programming
文脈指向プログラミング
02 engineering and technology
Extension (predicate logic)
Modularity
020202 computer hardware & architecture
Simple (abstract algebra)
020204 information systems
Embedded system
0202 electrical engineering, electronic engineering, information engineering
Code (cryptography)
Feature (machine learning)
Reactive programming
Functional Reactive Programming, Functional Programming Languages, Event Systems, Embedded Systems
組込みシステム
Layer (object-oriented design)
business
Embedded Systems
Functional reactive programming
Subjects
Details
- Language :
- English
- Database :
- OpenAIRE
- Journal :
- Proceedings of the 10th International Workshop on Context-Oriented Programming (COP 2018)
- Accession number :
- edsair.doi.dedup.....9e49e6ae5a8d66310a08bdc8c9b40399