LASSY2017 Talk

Posted on April 3, 2017

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

Takuo Watanabe & Kensuke Sawada
2nd Workshop on Live Adaptation of Software SYstems (LASSY 2017), Brussels, Apr. 3, 2017.


This paper describes a reflective extension to Emfrp, a functional reactive programming language designed for resource-constrained embedded systems. The primary purpose of introducing reflection is to provide a certain degree of flexibility and adaptability to the statically designed runtime system of the language. We propose a simple mechanism that allows accessing the internals of the runtime via time-varying values. Thus the reflective operations are also reactive. In this paper, we present a conceptual implementation idea towards the proposed reflection mechanism and show, as an example, an adaptive runtime that eliminates unnecessary evaluations.


Takuo Watanabe & Kensuke Sawada, Towards Reflection in an FRP Language for Small-Scale Embedded Systems, In Companion to the 1st International Conference on the Art, Science and Engineering of Programming (Programming 2017), ACM, Article 10, DOI:10.1145/3079368.3079387, Apr., 2017.

The full-text of this paper is available without charge via ACM Author-Izer link.