MetaCase Homepage
Forum Home Forum Home > > MetaEdit+
  New Posts New Posts RSS Feed - Show the graphical metamodel
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Show the graphical metamodel

 Post Reply Post Reply
Author
Message
iceman View Drop Down
Major Contributor
Major Contributor
Avatar

Joined: 19.Jun.2011
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote iceman Quote  Post ReplyReply Direct Link To This Post Topic: Show the graphical metamodel
    Posted: 27.Jun.2013 at 10:44
I am using the form-based tools to create my language. Is is possible to see the meta-model in a graphical form as well as shown in Figure 1.3 in the Family Tree example: http://www.metacase.com/support/45/manuals/evaltut/et-1.html
Back to Top
stevek View Drop Down
MetaCase
MetaCase
Avatar

Joined: 11.Mar.2008
Points: 643
Post Options Post Options   Thanks (0) Thanks(0)   Quote stevek Quote  Post ReplyReply Direct Link To This Post Posted: 27.Jun.2013 at 12:33
It would certainly be possible to transform the MXT export of your language into MXM in the graphical GOPRR language. Currently we don't have such a transformation ready, although there was some work and testing internally. The main issue is that the Graphical GOPRR language is deliberately simpler than the full GOPPRR, so there can be things in a metamodel that cannot be represented in Graphical GOPRR.
Back to Top
iceman View Drop Down
Major Contributor
Major Contributor
Avatar

Joined: 19.Jun.2011
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote iceman Quote  Post ReplyReply Direct Link To This Post Posted: 27.Jun.2013 at 13:19
Thanks a lot. What would you suggest as an easy work to represent the concepts of a language in the metamodel? So that I can include it in a report or show in a presentation in a more formalized form. 
Back to Top
stevek View Drop Down
MetaCase
MetaCase
Avatar

Joined: 11.Mar.2008
Points: 643
Post Options Post Options   Thanks (0) Thanks(0)   Quote stevek Quote  Post ReplyReply Direct Link To This Post Posted: 27.Jun.2013 at 13:47
It depends on the audience. I've used example models with one instance of each concept, Graphical GOPRR, text/tables, and UML Class Diagrams - roughly in decreasing order of preference.
Back to Top
iceman View Drop Down
Major Contributor
Major Contributor
Avatar

Joined: 19.Jun.2011
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote iceman Quote  Post ReplyReply Direct Link To This Post Posted: 27.Jun.2013 at 13:51
I see. I want to show the language concepts to the practitioners and the language features to the modelers, but I also want a more formalized way to show the concepts of the language independent of the Metaedit workbench tool. I think GOPPRR is a way, but as you said there is no way to extract that information if I have used the form based tools to create the language. Then, how do i export the language concepts formally?
Back to Top
stevek View Drop Down
MetaCase
MetaCase
Avatar

Joined: 11.Mar.2008
Points: 643
Post Options Post Options   Thanks (0) Thanks(0)   Quote stevek Quote  Post ReplyReply Direct Link To This Post Posted: 27.Jun.2013 at 14:45
You can either export to MXT with Types Manager, or use the document:into: command-line parameter to get a textual representation. Like all command-line parameters, document:into: can also be run via the API or MERL, e.g. to export all graph types:
internal 'document:into: * d:\mybasedir' execute
That will create a subdirectory for each graph type, with a file metamodel.txt containing sections for Objects, Bindings etc., and each generator output as a *.rep file. I also find it useful for diffing versions of the metamodel.
Back to Top
stevek View Drop Down
MetaCase
MetaCase
Avatar

Joined: 11.Mar.2008
Points: 643
Post Options Post Options   Thanks (0) Thanks(0)   Quote stevek Quote  Post ReplyReply Direct Link To This Post Posted: 27.Jun.2013 at 14:56
Of course, it's worth asking what you really mean by "formally" and "independent of MetaEdit+". The repository contains the full metamodel, and is the best format for the best tools for examining the metamodel - MetaEdit+ itself. If I wanted to get to know your language, from scratch to a deep knowledge, using MetaEdit+ to look at and instantiate it would be the best way. Similarly, if you want the most precise and formal description, that's the repository.
 
Static pictures, PDF, HTML or text are the only really tool-independent formats I can think of, and they're not a particularly good way to help people understand beyond the first quick look - or then they require a lot of manual work by you.
 
There are interesting parallels with natural language: if I want to send you a document in natural language, there are plenty of formats, it's relatively easy to come up with standardised formats, and you can understand simply by reading. But if I want to send you a *language*, things are a lot more difficult.
Back to Top
iceman View Drop Down
Major Contributor
Major Contributor
Avatar

Joined: 19.Jun.2011
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote iceman Quote  Post ReplyReply Direct Link To This Post Posted: 27.Jun.2013 at 16:32
Figure 10.7 in the DSM book for example. It's easy to document and share the knowledge
Back to Top
jpt View Drop Down
MetaCase
MetaCase
Avatar

Joined: 25.Mar.2008
Points: 253
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpt Quote  Post ReplyReply Direct Link To This Post Posted: 01.Jul.2013 at 16:32
If you want to specify the metamodels as in the book, you may consider using the graphical metamodeling, see the guide at http://www.metacase.com/support/50/manuals/Graphical%20Metamodeling.pdf

Edited by jpt - 01.Jul.2013 at 16:33
Back to Top
iceman View Drop Down
Major Contributor
Major Contributor
Avatar

Joined: 19.Jun.2011
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote iceman Quote  Post ReplyReply Direct Link To This Post Posted: 01.Jul.2013 at 16:39
thanks..yeah. that's what i've been doing now. i started with the form based editor as it's the one in the watch tutorial. but since it's more powerful, its easier to get more complex languages done. the graphical one is better for documentation in the initial stages. but would be nice to have some way to document more complex meta-models other than  the modeling language
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.05
Copyright ©2001-2022 Web Wiz Ltd.

This page was generated in 0.082 seconds.