Hi,
Such a bridge is useful when you want to use the tools built on top of the other meta-meta-model. For example, in Metanool I started to work on an editor for the Fame descriptions. To do this, we have a translator of Fame objects into Magritte objects (hacked with Lukas on some train ride). The code is available at:
"Metanool" Gofer new squeaksource: 'Metanool'; package: 'Metanool'; load.
The most interesting method is: FM3MetaDescription>>asMagritteDescription
Cheers, Doru
On 25 Sep 2010, at 21:50, Stéphane Ducasse wrote:
On Sep 25, 2010, at 9:20 PM, François Tanguy wrote:
Would it be a good idea to have a bridge between the two ?
I do not know what is your scenario?
Like generating magritte descriptions from the Fame pragmas.
do you have an example? because you mean describing Magritte in fame?
Then we could imagine to have a generic editor for a metamodel and serialization... (like in EMF)
fame already support the functionality of EMF. I think that Fame should stay a simple metametamodel.
I wrote a very basic piece of code that does the transformation from Fame to Magritte in some very specific use case and that is something that is definitely possible.
What do you think ?
I do not know. what is your need?
Stef
Le 25 sept. 2010 à 11:49, Stéphane Ducasse a écrit :
here is my summary fame is a minimal meta meta model ( 4 or 5 classes): we use it describe other model (such as Famix) based on fame you can load and save model.
Magritte is a meta data driven framework. you describe specific entity and the tools interpret it.
On Sep 25, 2010, at 11:24 AM, François Tanguy wrote:
Hi,
being a end user, I am bit confused with these 2 frameworks: Fame and Magritte. There are both meta-meta-models. So what make them different from a conceptual point of view ?
For my models, I would like to have the persistency for free (from Fame) and the UI edition and model validation for free (from Magritte).
Today I must write two times the description of my language (one in Fame and one in Magritte), and it feels like I would need only one description.
Any info on this would be appreciated.
Thanks.
Francois
Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Relationships are of two kinds: those we choose and those that happen. They both matter."