Towards a Decoupled Context-Oriented Programming Language for the Internet of Things

Baptiste Maingret, Frédéric Le Mouël, Julien Ponge, Nicolas Stouls, Jian Cao, Yannick Loiseau
2015 Proceedings of the 7th International Workshop on Context-Oriented Programming - COP'15  
Easily programming behaviors is one major issue of a large and reconfigurable deployment in the Internet of Things. Such kind of devices often requires to externalize part of their behavior such as the sensing, the data aggregation or the code offloading. Most existing context-oriented programming languages integrate in the same class or close layers the whole behavior. We propose to abstract and separate the context tracking from the decision process, and to use event-based handlers to
more » ... nect them. We keep a very easy declarative and non-layered programming model. We illustrate by defining an extension to Golo-a JVM-based dynamic language.
doi:10.1145/2786545.2786552 dblp:conf/ecoop/MaingretMPSCL15 fatcat:gkhzrwk4yzeynborba6emcy7ja