happy new year!
blackdrag at gmx.org
Wed Jan 21 20:36:58 PST 2009
John Rose schrieb:
> I'm eager to see what Groovy can do with these new goodies.
> BTW, what do you think are the chances of interfactoring Groovy's MOP
> with Attila's? The JSR 292 adoption might be a good time to think
> about it.
Atilla's work looks very much how Groovy used to work in 1.0 till 1.5.
The upcoming 1.6 is going away from a call oriented MOP to a request
based MOP. That means we request a callable object and then execute the
call itself directly from the call site.
theoretically this can be done with Atilla's MOP too, but we would have
to use the get method to get something callable and then call it... only
that we need to transport information like caller, callee, arguments and
of course methodname. And I am not sure how that would be done.
Of course suppporting Atilla's MOP as an interface to Groovy's MOP is a
different story, since we can write a bunch of adapter classes and be
done withit. Of course the use is then "limited" to interlanguage calls
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead (http://groovy.codehaus.org)
More information about the mlvm-dev