|
|
|
|
|
Re: Acceleo and QML [message #1784365 is a reply to message #1784360] |
Tue, 27 March 2018 09:33 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Ed Willink![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ed%40willink.me.uk) Messages: 7669 Registered: July 2009 |
Senior Member |
|
|
Hi
Perhaps you misunderstand Acceleo and M2T. Acceleo is a tool, like a Java compiler, that supports a language, like Java, in which you can write programs to tackle interesting problems.
Your problem as I understand it is to convert something, possibly a QML model, into QML text. You can program this model-to-text conversion in Acceleo (or Java).
I suspect that you expected Acceleo to auto-implement the conversion program. One day that may be possible, but only if
- your source, possibly a QML model, has a full machine definition, possibly an Ecore metamodel
- your target, QML text, has a full machine definition, possibly an Xtext grammar
- the source to target semantic relationships are simple enough to be captured by the Xtext grammar, or specified in some other way, possibly an M2M
My recommendation was to search for some QML tool support that has already done this. Of course if you are a primary QML developer you may want to exploit tools such as Xtext.
Regards
Ed Willink
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04965 seconds