Skip to main content

Posts

Showing posts from May, 2011

Chi Gen: structure of a generator

The ChiGen is a java application that executes specific transformation (cartridges) against a specific metamodel (Chronos). Components Metamodel The metamodel is the model that describes models, in other words it's a collection of the elements that we use in the modelling language. the CHiGen uses the Chronos and Ouranos Metamodels. Xtend Xtend is a functional language, with which it is possible to expand existing types described in the Metamodel with additional logic. The concept is called Extensions (it is also part of the C # 3.0 specification). These extensions can be accessed both within Xtend and in the other family's languages (check and Xpand)  . Furthermore, the concept of  Extensions simplifies the transformation of models in other models (M2M). Check the Check language is considered the be an equivalent of  OCL . Unlike OCL, it's also based on the language family of oAW and can therefore be carried out not only on MOF-compliant models, but also t