Hi everyone,
As already explained, we are currently cleaning the traits in FamixNG. Pavel did a great job by providing a back office to create new meta model with a tiny DSL and by building the old meta model using the new infrastructure. Now, we want to:
- clean elementary traits (for example when there is a FMMany slot, sometime there is an addXXX method and sometime not)
- compose traits (FamixTClass is not a composition of traits, it has to be done when we build the meta model), to provide semantically rich traits.
- be sure that tests are passing. They were tests in FamixNG, only to ensure compatibility with the old meta model.
Consequently, I developed a generator to create tests associated to elementary traits. Normally you don’t need to use this generator if you use only build traits by composing existing ones.
Anyway, if needed, you can get the generator from FamixNG-TestGenerators package in TestGenerator3 branch:
fttg := FamixTestAndTraitGenerator new.
fttg runFor: FamixTClass
I developed a second generator to generate tests from the trait composition. We will use it after cleaning FamixNG. Obviously, later the generator has no vocation to remain in the image, tests will be generated once and you can add tests by hand.
fcg := FamixComposingTestTraitsGenerator new.
fcg addingTraitsToTestTraitFor: FamixTClass
For using this later, we need that a correction in Pharo concerning composition of traits with slots is back tracked in Pharo 7. Or you can use the attached file.
We already get 135 tests for FamixNG and we will continue.
If you have any question don’t hesitate.
Anne
It should be up and running now.
George
> On 25 Jun 2019, at 13:00, moose-dev-request(a)list.inf.unibe.ch wrote:
>
> thanks doru this is important for the credibility of the community.
>
>
>> On 25 Jun 2019, at 00:29, Tudor Girba <tudor(a)tudorgirba.com <mailto:tudor@tudorgirba.com>> wrote:
>>
>> Oh. Thanks for the report. We will fix that.
>>
>> Doru
Hi,
We extended Glamorous Toolkit to include direct support for Famix in the distribution. We currently support Famix3, which we ported from SmalltalkHub to GitHub along side with Fame:
https://github.com/feenkcom/gt4famix3https://github.com/feenkcom/famix3
This is likely a temporary solution. Ideally, we would like to not fork, but we wanted something that we can use right now and that can be loaded without external dependencies.
This can already be combined with all the interaction, visualization, and the advanced syntax highlighting support that already exists in GT.
Cheers,
Doru
--
feenk.com
"Don't give to get. Just give."
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