Title :
Improving quality of code generated from OCL expressions
Author :
Armonas, Andrius ; Nemuraite, Lina
Author_Institution :
Kaunas Univ. of Technol., Kaunas
Abstract :
In this paper, we briefly describe existing principles and stages for generating code from OCL expressions pointing out the drawbacks that cause inefficiencies of the resulting code. The proposed improvement of the transformation is based on extended abstract syntax trees (AST) with context-specific attributes. Principles for defining such attributes on AST trees and an example of transformation is presented.
Keywords :
attribute grammars; computational linguistics; specification languages; OCL expressions; abstract syntax trees; code generated; context-specific attributes; object constraint language; Business; Computer architecture; DSL; Domain specific languages; Information systems; Java; Object oriented modeling; Programming; Reverse engineering; Unified modeling language;
Conference_Titel :
Computer and information sciences, 2007. iscis 2007. 22nd international symposium on
Conference_Location :
Ankara
Print_ISBN :
978-1-4244-1363-8
Electronic_ISBN :
978-1-4244-1364-5
DOI :
10.1109/ISCIS.2007.4456835