creators_name: Edmunds, Andrew creators_name: Butler, Michael creators_name: Maamria, Issam creators_name: Silva, Renato creators_name: Lovell, Chris type: conference_item datestamp: 2012-05-08 09:23:13 lastmod: 2012-09-11 18:17:22 metadata_visibility: show title: Event-B code generation: type extension with theories ispublished: inpress subjects: ADVANCE subjects: Code_generation subjects: deploy_method subjects: deploy_tooldev_rodinplugins subjects: theory full_text_status: none pres_type: paper abstract: 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. date: 2012-03 date_type: completed event_title: ABZ 2012 event_location: Pisa, Italy event_dates: 19-21 June 2012 event_type: conference refereed: TRUE official_url: http://eprints.soton.ac.uk/336226/ citation: Edmunds, Andrew and Butler, Michael and Maamria, Issam and Silva, Renato and Lovell, Chris (2012) Event-B code generation: type extension with theories. In: ABZ 2012, 19-21 June 2012, Pisa, Italy. (In Press)