Title :
Rule-based translation of specifications to executable code
Author :
Khalafinejad, Saeed ; Mirian-Hosseinabadi, Seyed-Hassan
Author_Institution :
Dept. of Comput. Eng., Sharif Univ. of Technol.-Int. Branch, Kish Island, Iran
Abstract :
It is well known that the use of formal methods in the software development process results in a high-quality software product. However, since formal approaches are just reasoning mechanisms, they do not offer defined ordered steps and guidance for moving between them. Refinement is a technique for moving between specifications but it bears very little resemblance to the real process of software design. An automatic translator from a specification language to an executable code would be highly useful in maximizing the benefits of formal methods. In the domain of database applications, we propose a rule-based algorithm to translate software requirements written in Z specifications to Delphi/SQL code. The approach transforms Z specifications to executable code via a set of formal rules and Delphi/SQL libraries. The libraries can be predefined or user-defined. The soundness of the translation process is examined by data refinement.
Keywords :
SQL; formal specification; software engineering; Delphi code; SQL code; Z specifications; database applications; executable code specifications; formal methods; rule based algorithm; rule based translation; software design; software development process; software product; Acoustical engineering; Application software; Data engineering; Power engineering computing; Programming; Relational databases; Software algorithms; Software design; Software libraries; Specification languages; Automatic; Code generation; Database; Formal methods;
Conference_Titel :
Information Management and Engineering (ICIME), 2010 The 2nd IEEE International Conference on
Conference_Location :
Chengdu
Print_ISBN :
978-1-4244-5263-7
Electronic_ISBN :
978-1-4244-5265-1
DOI :
10.1109/ICIME.2010.5477687