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.
Published in:
Computer and information sciences, 2007. iscis 2007. 22nd international symposium on
Date of Conference: 7-9 Nov. 2007