The University of Southampton
University of Southampton Institutional Repository

Event-B code generation: type extension with theories

Event-B code generation: type extension with theories
Event-B code generation: type extension with theories
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.
Edmunds, Andrew
5d6da190-9621-44a5-9989-ca98a213928f
Butler, Michael
54b9c2c7-2574-438e-9a36-6842a3d53ed0
Maamria, Issam
b2340276-d609-4c42-978a-48456aca5000
Silva, Renato
884a067a-d20d-480d-8777-430bdee494b4
Lovell, Chris
1ac8eed7-512f-4082-a7ab-75b5e4950518
Edmunds, Andrew
5d6da190-9621-44a5-9989-ca98a213928f
Butler, Michael
54b9c2c7-2574-438e-9a36-6842a3d53ed0
Maamria, Issam
b2340276-d609-4c42-978a-48456aca5000
Silva, Renato
884a067a-d20d-480d-8777-430bdee494b4
Lovell, Chris
1ac8eed7-512f-4082-a7ab-75b5e4950518

Edmunds, Andrew, Butler, Michael, Maamria, Issam, Silva, Renato and Lovell, Chris (2012) Event-B code generation: type extension with theories. ABZ 2012, Pisa, Italy. 19 - 21 Jun 2012. 4 pp .

Record type: Conference or Workshop Item (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.

Text
ABZ2012_short_v20120202.pdf - Other
Download (233kB)

More information

Published date: June 2012
Venue - Dates: ABZ 2012, Pisa, Italy, 2012-06-19 - 2012-06-21
Organisations: Electronic & Software Systems

Identifiers

Local EPrints ID: 336226
URI: http://eprints.soton.ac.uk/id/eprint/336226
PURE UUID: b98184ca-5611-4188-bf51-20bb35774c2c
ORCID for Michael Butler: ORCID iD orcid.org/0000-0003-4642-5373

Catalogue record

Date deposited: 19 Mar 2012 12:05
Last modified: 15 Mar 2024 02:50

Export record

Contributors

Author: Andrew Edmunds
Author: Michael Butler ORCID iD
Author: Issam Maamria
Author: Renato Silva
Author: Chris Lovell

Download statistics

Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.

View more statistics

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton: eprints@soton.ac.uk

ePrints Soton supports OAI 2.0 with a base URL of http://eprints.soton.ac.uk/cgi/oai2

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.

×