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.
The wiki page contains some usage examples.
cheers,
Andrea
_____________________________
Andrea Caracciolo
-- caracciolo@iam.unibe.ch
Software
Composition Group
University of Bern
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________