||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
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.