Improving quality of code generated from OCL expressions

Andrius Armonas, Lina Nemuraitė · 2007

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.

Read the paper · More papers on PaperTik