26.09.2013 Views

Transformation of Applicative Specifications into Imperative ...

Transformation of Applicative Specifications into Imperative ...

Transformation of Applicative Specifications into Imperative ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 13<br />

Conclusion<br />

In this chapter the results <strong>of</strong> the project will be summarized and compared<br />

to the requirements, which were set up in the beginning <strong>of</strong> the project and<br />

have been pursued throughout the project. Furthermore, a discussion <strong>of</strong> the<br />

actual result will be given and some related work will be discussed. Finally,<br />

some concluding remarks are given.<br />

13.1 Achieved Results<br />

The aims <strong>of</strong> the project are fulfilled. <strong>Transformation</strong> rules which applied to<br />

an applicative RSL specification return an imperative RSL specification are<br />

constructed. It has been a goal to make the resulting imperative specification<br />

as readable and recognizable as possible. It is shown through many examples<br />

and test cases that this is achieved.<br />

A notion <strong>of</strong> correctness <strong>of</strong> the transformation from applicative <strong>into</strong> imperative<br />

specification is given together with an outline <strong>of</strong> a how the correctness<br />

<strong>of</strong> the transformation rules could be verified. Nothing has indicated that the<br />

transformation rules are wrong and I am convinced that they actually can<br />

be verified.<br />

A tool, the transformer, has been developed to support the transformation<br />

rules such that the actual transformation from applicative <strong>into</strong> imperative<br />

specification can be done automatically. The transformer has been<br />

thoroughly tested and the tests revealed no errors. All transformations followed<br />

the transformation rules and the resulting imperative specifications<br />

could all be type checked using the RSL type checker.<br />

The transformer is built such that it can be easily extended. The transformation<br />

rules are constructed such that an extension does not require changing<br />

the transformation rules. The only thing to do is to put up transformation<br />

rules that covers the extension and add the transformation rules to the<br />

transformer. This requires extension <strong>of</strong> the ANTLR grammar file, extension<br />

<strong>of</strong> the visitor modules and <strong>of</strong> course extensions <strong>of</strong> the specification <strong>of</strong> the<br />

129

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!