META2017 Talk

Posted on October 22, 2017

Reactive Reflection in an FRP Language for Small-Scale Embedded Systems

Takuo Watanabe
Workshop on Meta-Programming Techniques and Reflection (META 2017), Vancouver, Oct. 22, 2017.


This paper introduces a reflective functional reactive programming language designed for resource-constrained embedded systems. Using the reflection mechanism provided by the language, a program module can observe or modify its execution process via time-varying values that are connected to the internal of the metalevel of the module. Thus reflective operations are also reactive and described in a declarative manner. An example shows how the mechanism can realize an adaptive runtime that reduces the power consumption of a small robot.