Towards a simple and safe Objective Caml compiling framework for the synchronous language SIGNAL
作者:Zhibin Yang, Jean-Paul Bodeveix, Mamoun Filali
摘要
This paper presents a simple and safe compiler, called MinSIGNAL, from a subset of the synchronous dataflow language SIGNAL to C, as well as its existing enhancements. The compiler follows a modular architecture, and can be seen as a sequence of source-to-source transformations applied to an intermediate representation which is named Synchronous Clocked Guarded Actions (S-CGA) and translation to sequential imperative code. Objective Caml (OCaml) is used for the implementation of MinSIGNAL. As a modern functional language, OCaml is adapted to symbolic computation and so, particularly suitable for compiler design and implementation of formal analysis tools. In particular, the safety of its type checking allows to skip some verification that would be mandatory with other languages. Additionally, this work is a basis for the formal verification of the compilation of SIGNAL with a theorem prover such as Coq.
论文关键词:synchronous languages, SIGNAL, Synchronous Clocked Guarded Actions (S-CGA), Objective Caml, functional programming
论文评审过程:
论文官网地址:https://doi.org/10.1007/s11704-017-6485-y