Functional reactive programming (FRP) is a programming paradigm for reactive systems based on functional abstractions expressing time-varying values and events. In this paper, we present a strongly-typed pure FRP language named CFRP to show that FRP is beneficial for developing software for smallscale embedded systems. Although its design follows the tradition of signalbased FRP languages, our compiler can generate stand-alone C++ code that can be deployed effectively on resource-constrained microcontrollers. Through an example, we show that CFRP supports a declarative, modular and clean manner of developing small-scale embedded systems.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.