Declarative Programming for Microcontrollers – Datalog on Arduino

08/30/2019
by   Mario Wenzel, et al.
0

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.

READ FULL TEXT
research
09/21/2013

PRoMoTo 2013 proceedings

Programming for Mobile and Touch (PRoMoTo'13) was held at the 2013 ACM S...
research
12/19/2022

@C – augmented version of C programming language

The augmented version of C programming language is presented. The langua...
research
04/24/2023

Safe and Secure Smart Home using Cisco Packet Tracer

This project presents an implementation and designing of safe, secure an...
research
10/06/2017

Fibred Computational Effects

Dependent types provide a lightweight and modular means to integrate pro...
research
08/17/2021

Solving the Funarg Problem with Static Types

The difficulty associated with storing closures in a stack-based environ...

Please sign up or login with your details

Forgot password? Click here to reset