Hi Nicolas,
I am not sure I understand your concern.
The idea behind Lift is not to reimplement MooseChef, but to offer a
quick way to infer these relationships on other entities than regular
FAMIX ones.
Cheers,
Doru
On Tue, Jun 19, 2012 at 11:06 AM, Nicolas Anquetil
<Nicolas.Anquetil(a)inria.fr> wrote:
Hk Andrea,
I had a quick look at Lift.
Being able to express the queries on MooseGroups is a nice addon.
But I think it would have been much nicer keeping the syntax of MooseChef.
Instead of:
(aNamespaceGroup lift: #incomingInvocations from:self mooseModel allMethods)
asMooseGroup
why don't you use:
aNamespaceGroup queryIncomingInvocations atNamespaceScope
which according to MooseChef syntax should return the same thing ?
I trust you will agree the second is more elegant , and it has the advantage
of keeping the same syntax, so we don't need to learn a new syntax
nicolas
On 18/06/12 14:39, Andrea Caracciolo wrote:
Hi,
I developed a small extension which allows to query a moose model to obtain
a set of implicit associations derived from low level relationships.
What you can do concretely is for example to select a group of namespace
entities, and ask for all implicit associations existing between the
selected entities based on a specific relationship existing at a lower
abstraction level (i.e.: the method level).
The end result is much similar to the one provided by Moose Chef, with the
advantage of being much more generic and flexible.
Each generated association keeps a reference to the concrete relationships
on which it is based on.
If you are interested, you can try it out
at:
http://www.squeaksource.com/Lift.html
The wiki page contains some usage examples.
cheers,
Andrea
_____________________________
Andrea Caracciolo -- caracciolo(a)iam.unibe.ch
Software Composition Group
University of Bern
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Every thing has its own flow"