A Lightweight Framework for Code Generation from B Formal Specification

This paper presents a lightweight framework for executable code generation from B formal specification. First, the translation framework is introduced, including the translation strategy, process and implementation. Then the correctness and reusability of the framework is simply discussed. Finally, we introduce several kinds of support tools which can be used to implement the framework.