||Towards Reflection in an FRP Language for Small-Scale Embedded Systems
Towards Reflection in an FRP Language for Small-Scale Embedded Systems
渡部, 卓雄 ,
Watanabe, Takuo ,
澤田, 賢祐Sawada, Kensuke
Companion to the first International Conference on the Art, Science and Engineering of Programming (Programming 2017)
2017-04 , ACM
This paper presents possible usages of reflection in Emfrp, a functional reactive programming language designed for resource constrained embedded systems. We propose a simple reflection mechanism that provides a higher-level abstraction for accessing the internals of the language runtime. In this mechanism, the metalevel access is via time-varying values. This means that the reflective operations are also reactive.As an example, we show a simple adaptive runtime of the language that eliminates unnecessary evaluations.