Friday, 22 June 2012

What is Model Transformation


Model transformations
Model transformation is the process in which the models or programs written in the source language are translated to the models or programs of the target language. Both input and output models or programs confirm to their respective language definition. That target language may be another modeling language or the programming language.
Why we need model transformation?
While developing software using the modern programming languages we write the software specifications in the form of programs. While doing so we are specifying software at much higher level of abstraction that is close to the human understanding. But the computer understands the programs in the form of 0s and 1s. Compilers translate these higher level software specifications to the low level instructions that are directly understandable and executable by the computers. In the same way when we are specifying software in the form of models, we are specifying it at further higher level of abstraction than the modern programming languages. We need to translate these models too into the intermediate models to the code of programming languages like Java or C# so that it could be further translated to the machine code.

No comments:

Post a Comment