I agree with Jordi Cabot. you can mainly use the Eclipse Modeling Framework with one of the existing model editors (e.g. Papyrus, TopCased, etc.). You can then write your own generation workflow with Acceleo, an implementation of Eclipse for MOF in the Text Transformation Language. It allows you to dive into the model and generate the required text (e.g. Java, C ++, C, python, Matlab, etc.).
In the beginning it may look a little strange and hard to understand, but it is the best environment that I know for this purpose. It is fully compliant with OMG standards.
Bye
source share