Towards a Decoupled Context-Oriented Programming Language for the Internet of Things
Baptiste Maingret (CITI), Fr\'ed\'eric Le Mou\"el (CITI), Julien Ponge, (CITI), Nicolas Stouls (CITI), Jian Cao (CSE), Yannick Loiseau (LIMOS)

TL;DR
This paper proposes a decoupled, event-driven context-oriented programming language extension for IoT devices, simplifying behavior programming by separating context tracking from decision logic.
Contribution
It introduces a novel approach that separates context management from decision processes, maintaining a simple declarative programming model for IoT applications.
Findings
Decoupled context and decision layers improve modularity.
Event-based handlers facilitate flexible interconnection.
Extension to Golo demonstrates practical applicability.
Abstract
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 interconnect 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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
