Emfrp

In this paper, we introduce a new Functional Reactive Programming (FRP) language Emfrp designed to support small-scale embedded systems. An Emfrp program defines a system as a fixed directed graph whose nodes correspond to the time-varying values in the system. The language equips a simple mechanism that enables each node to refer the past values of arbitrary nodes. Using this mechanism, Emfrp provides simplicity and flexibility for describing complex time-dependent reactive behaviors without space and time leaks. Our Emfrp compiler produces platform-independent ANSIC code that can run on multiple processors including resource constrained microcontrollers. To demonstrate the capabilities of the language, we show a simple but non-trivial example application.

~

SAWADA, Kensuke and WATANABE, Takuo, 2016. Emfrp: a functional reactive programming language for small-scale embedded systems. In: Companion Proceedings of the 15th International Conference on Modularity. Málaga Spain: ACM. 14 March 2016. p. 36–44. ISBN 978-1-4503-4033-5. DOI 10.1145/2892664.2892670. [Accessed 30 March 2024].