Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Splitting one DSL into 6 (Evaluation of Splitting DSL´s)
Splitting one DSL into 6 [message #1014413] Mon, 25 February 2013 19:20 Go to next message
Günther Fiedler is currently offline Günther FiedlerFriend
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 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
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

Re: Splitting one DSL into 6 [message #1015375 is a reply to message #1015216] Thu, 28 February 2013 12:12 Go to previous message
Günther Fiedler is currently offline Günther FiedlerFriend
Messages: 21
Registered: February 2013
Junior Member
Hello Christian,

thank you for your post.

I think i´ll keep on working with one DSL. Wink

Greetz,
Günther
Previous Topic:XtextEditor with folding disabled by default
Next Topic:create editor for my dsl
Goto Forum:
  


Current Time: Thu Apr 25 12:59:52 GMT 2024

Powered by FUDForum. Page generated in 0.03709 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top