Code Generation Activity: Difference between revisions

From Event-B
Jump to navigationJump to search
imported>Andy
No edit summary
imported>Andy
Line 23: Line 23:
=== The Demonstration Plug-in Release ===
=== The Demonstration Plug-in Release ===
The demonstration plug-in is planned for release around November-end 2010, if all goes well. It must be emphasised that the Code Generation (CG) Feature is a demonstration tool; a proof of concept rather than a prototype. The tool has no static checker, and it is therefore to be expected that there will be a reliance on docs and dialogue to explore the features of the CG tools successfully. We will be working on this aspect in due course.
The demonstration plug-in is planned for release around November-end 2010, if all goes well. It must be emphasised that the Code Generation (CG) Feature is a demonstration tool; a proof of concept rather than a prototype. The tool has no static checker, and it is therefore to be expected that there will be a reliance on docs and dialogue to explore the features of the CG tools successfully. We will be working on this aspect in due course.


=== Metamodels ===
=== Metamodels ===

Revision as of 13:27, 22 November 2010

Development Repository

The SVN repository for development of the code generation plug-in is here:

svn+ssh://svn.ecs.soton.ac.uk/projects/deploy-exploratory/trunk/CodeGeneration

Other information can be found here:

svn+ssh://svn.ecs.soton.ac.uk/projects/deploy-exploratory/CodeGeneration

Completed/Ongoing Work

  • Demonstration plug-in,
    • ready for deployment.
    • deployment/Integration Testing under way.
  • The plug-in consists of,
    • a tasking Development Generator.
    • a tasking Development Editor (Based on an EMF Tree Editor).
    • a translator, from Tasking Development to Common Language Model.
    • a translator, from the Tasking Development to Event-B model of the implementation.
    • a pretty-printer for the Tasking Development.
    • a pretty-printer for Common Language Model, which generates Ada Source Code.

The Demonstration Plug-in Release

The demonstration plug-in is planned for release around November-end 2010, if all goes well. It must be emphasised that the Code Generation (CG) Feature is a demonstration tool; a proof of concept rather than a prototype. The tool has no static checker, and it is therefore to be expected that there will be a reliance on docs and dialogue to explore the features of the CG tools successfully. We will be working on this aspect in due course.

Metamodels

  • In the plug-in we define several meta-models:
    • CompositeControl: for the control flow (algorithmic) constructs such as branch, loop and sequence etc. These constructs may be used in the specification of either sequential or concurrent systems.
    • Tasking Meta-model: defines the tasking model where we attach tasking specific details, such as task priority, task type. The tasking structures provide the ability to define single tasking or multi-tasking (concurrent) systems. We make use of the composite control plug-in to specify the flow of control.
    • IL1 Meta-model: defines an abstraction of common programming language constructs for use in translations to implementations.

Translation Rules

  • Tasking to IL1/Event-B translation rules [[1]]