Interactive Programming of Reactive Systems
2009; Elsevier BV; Volume: 238; Issue: 1 Linguagem: Inglês
10.1016/j.entcs.2008.01.004
ISSN1571-0661
AutoresLouis Mandel, Florence Plateau,
Tópico(s)Model-Driven Software Engineering Techniques
ResumoReactiveML is a synchronous reactive extension of the general purpose programming language OCaml. It allows to program reactive systems such as video games or simulators. This paper presents rmltop, the ReactiveML counterpart of the OCaml toplevel. This toplevel allows a programmer to interactively write ReactiveML programs which are type-checked, compiled and loaded on the fly. The user can then progressively run concurrent processes and observe the interactions between them. The main strength of rmltop is that all valid ReactiveML expressions are accepted in the toplevel with the same semantics as in the compiler. This allows to use the ReactiveML toplevel as a debugger. Furthermore, the interpreted code is as efficient as if it was compiled. Moreover, a toplevel interpreter being itself a reactive system, another originality of rmltop is its own implementation in ReactiveML which makes it relatively light.
Referência(s)