The Event-B method is a formal modelling approach; our interest is the final step, of generating code for concurrent programs, from Event-B. Our Tasking Event-B tool integrates Event-B to facilitate code generation. The theory plug-in allows mathematical extensions to be added to an Event-B development. When working at the implementation level we need to consider how to translate the newly added types and operators into code. In this paper, we augment the theory plug-in, by adding a Translation Rules section to the tool. This enables us to define translation rules that map Event-B formulas to code. We illustrate the approach using a small case study, where we add a theory of arrays, and specify translation rules for generating Ada code. © 2012 Springer-Verlag.
CITATION STYLE
Edmunds, A., Butler, M., Maamria, I., Silva, R., & Lovell, C. (2012). Event-B code generation: Type extension with theories. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7316 LNCS, pp. 365–368). https://doi.org/10.1007/978-3-642-30885-7_33
Mendeley helps you to discover research relevant for your work.