|Re: Acceleo and QML [message #1784365 is a reply to message #1784360]
||Tue, 27 March 2018 09:33
| Ed Willink
Registered: July 2009
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.
Powered by FUDForum
. Page generated in 0.01948 seconds