Splitting one DSL into 6 [message #1014413] |
Mon, 25 February 2013 19:20 |
Günther Fiedler Messages: 21 Registered: February 2013 |
Junior Member |
|
|
Hello comunity,
To begin with i want to thank you for so many posts and solutions. In the past few weeks this was great help for me.
But now I have a question. At the moment I have one DSL containing several uml similar diagrams like statemachine, classdiagram, activitydiagram etc...
I was thinking, it might be a good idea to split them in several xtext files, but still keeping them in one project oder splitting them in several projects. The should still be connected together.
For Example: In an objectdiagram i can only define objecttypes matching to a class i defined in the classdiagram.
The Question ist: What is the beste solution?
kind regards
Günther
[Updated on: Tue, 26 February 2013 18:19] Report message to a moderator
|
|
|
Re: Splitting one DSL into 6 [message #1015216 is a reply to message #1014413] |
Wed, 27 February 2013 19:10 |
|
Hi,
this highly depends if and how your dsls work together.
- for clear separation 6 projects would be nice but
- you may have to use a manually maintained metamodel in a 7th project if your metaclasses of the types use each other
- depending of the reuse of parts in different dsl you might get a problem
(only one parent grammar per dsl allowed)
~Christian
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
[Updated on: Wed, 27 February 2013 19:11] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03295 seconds