|Re: SysML and GMF -based domain specific modeling language [message #835841 is a reply to message #835836]
||Tue, 03 April 2012 18:45
| Ed Merks
Registered: July 2009
On 03/04/2012 11:34 AM, Arnaldo Caprai wrote:
> When one can develop domain specific modeling language with code
> generation using SYsML, what would be a use to GMF/EMF based framework ?
I don't know that much about SYsML but understand it to be a
profile/dialect of UML with some additional diagrams. If that meets
your needs, it's a lot of work to build your own editor, so reusing an
existing one will save time. Another point to consider though is that
UML is incredibly complex and the APIs for accessing it reflect that
fact. So writing a code generator against UML/SysML APIs will likely be
very complex/verbose. My general opinion about profiling is that
you're taking something that's already complex, and adding yet more
complexity (a profile), in an attempt to produce a simpler result.
That's a little like trying to make a silk purse out of a sow's ear.
> OR it is just a matter of choice ?
It's a trade-off. If you design a model with minimal concepts for what
you need, you have complete control over producing as simple an API as
possible. But you have to take full responsibility for producing a nice
editor for it. Xtext is very nice for producing a great editor for a
textual language (without so much effort) but you'll need something
like Graphiti or GMF if you want to design a nice graphical editor and
it will take quite a bit of effort.
> Please help me out in finding the answer to these questions.
Powered by FUDForum
. Page generated in 0.02909 seconds