- 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 ?
- I'm not sure about the question. But from what you said, this is a good way to create the model. The generator does not populate the model.
- 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 ?
Ahh... Yeah... We are currently working on this problem to make it easier.
I've fixed some bugs last week, you should not have this problem with both the inspector and the Moose panel now.
However, this happens when you use a MooseModel without defined meta-model.
So, you should execute
myModel := MooseModel new.
myModel metamodel: MyGenerator metamodel (or MyGenerator resetMetamodel).
"populate the model"
now you can inspect elements of your model.
(contact me directly on discord if needed)
Benoît Verhaeghe
Thank you for help.
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
-
Benoit Verhaeghe did model for GUI
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
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