Declarative Programming for Microcontrollers -- Datalog on Arduino
Mario Wenzel, Stefan Brass

TL;DR
This paper presents a novel approach to programming Arduino microcontrollers using an augmented Datalog language, enabling rule-based declarative programming suited for resource-constrained embedded systems.
Contribution
It introduces a compiler and runtime environment that allows Datalog programs to run on Arduino microcontrollers, expanding programming options for embedded systems.
Findings
Successfully implemented Datalog on Arduino systems.
Demonstrated applicability in robotics, automation, and IoT.
Enhanced programming expressiveness for microcontrollers.
Abstract
In this paper we describe an approach to programming microcontrollers based on the Arduino platform using Datalog as a clear and concise description language for system behaviors. The application areas of cheap and easily programmable microcontrollers, like robotics, home automation, and IoT devices hold mainstream appeal and are often used as motivation in natural science and technology teaching. The choice of programming languages for microcontrollers is severely limited, especially with regard to rule-based declarative languages. We use an approach that is based on the Dedalus language augmented with operations that allow for side-effects and takes the limited resources of a microcontroller into account. Our compiler and runtime environment allow to run Datalog programs on Arduino-based systems.
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.
