So, now I have a builder. When I run it, it creates all classes.
Then I updates my parsers to be in touch with my new classes.
So, now I can load my model but with 3 questions :
- in the builder, I found the method wantsAllEntitiesNavigation. What is it ? - for the model, for now, I created my own model (the class is named PulseModel). In my parser, I populate this model with the entities collected by my parser. Does the model can be generated also by the builder ? - in the browser, I already have the same error than in the old Famix : "Moose description are not initialized. Have you refreshed the meta-model? (e.g., MooseModel resetMeta) ». What can be the problem ?
Thank you for help.
Le 29 mai 2019 à 10:30, Nicolas Anquetil nicolas.anquetil@inria.fr a écrit :
On Wed, 2019-05-29 at 07:28 +0000, Jannik Laval wrote:
Thank you Nicolas,
What I understand is that I need to create a builder, and define my model. Also, If I understand well, the traits are dedicated to OOP (TClass, TMethod…)
yes, definitly, in this initial step we focused the historical core of Moose/Famix
You can still use it to do other things:
- Julien Delplanque did a model of Postgresql
https://ieeexplore.ieee.org/abstract/document/8530076 https://ieeexplore.ieee.org/abstract/document/8530076
- Benoit Verhaeghe did model for GUI
https://ieeexplore.ieee.org/abstract/document/8667989 https://ieeexplore.ieee.org/abstract/document/8667989
nicolas
I will try and see. Cheers, -- ~~Jannik Laval~~ Enseignant-chercheur Responsable Pédagogique Licence Coordonnateur de Projet IUT Lumière, Université Lumière Lyon 2 laboratoire DISP +33 4 78 77 43 06 http://www.jannik-laval.eu http://www.phratch.com http://www.approchealpes.info
Le 29 mai 2019 à 08:07, Nicolas Anquetil <nicolas.anquetil@inria.fr
a écrit :
The Famix metamodel was completly redesign to make it easier to create new models.
It now uses stateful traits to represent basic properties (eg an entity as a name, or an entity contains methods) that are combined to create the entities one needs.
we are still working on it, but you can have a look at https://github.com/SquareBracketAssociates/Booklet-FamixNG
nicolas
On Tue, 2019-05-28 at 19:16 +0000, Jannik Laval wrote:
Hi guys, In Moose 7/Pharo 7, I have this message : "Moose description are not initialized. Have you refreshed the meta-model? (e.g., MooseModel resetMeta)". I am working on my own model created in Moose6.1. It worked with it. Browsing the model in the MoosePanel is possible with the use of pragmas MSEProperties.
But it seems that in Moose 7, there are changes. Can someone help me or give me a documentation about what was changed in Moose 7 in the declaration on models ?
Thank you
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- Nicolas Anquetil RMod team -- Inria Lille
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
Moose-dev mailing list Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev
-- Nicolas Anquetil RMod team -- Inria Lille
Moose-dev mailing list Moose-dev@list.inf.unibe.ch mailto:Moose-dev@list.inf.unibe.ch https://www.list.inf.unibe.ch/listinfo/moose-dev https://www.list.inf.unibe.ch/listinfo/moose-dev