On Wed, 18 Jun 2003, George Marrows wrote: > > > In exactly the same spirit, wouldn't it make sense to allow some kind > > > of re-open of a method, rather than only the current :alias mechanism > > > (which is itself wonderful after some other languages)? The accessible > > > 'internal' points could include method-entry, method return, method > > > exception exit. Through these accessible points we could incrementally > > > and modularly define a method (or, perhaps more importantly, some > > > cross-cutting aspect of a bunch of methods across a bunch of classes). > > > > > > Thoughts? > > > > matz is already thinking on that :-) > > And in the meantime there's AspectR: http://aspectr.sourceforge.net/ > Or we could make an effort to extend Ruth to do not only internal->external parse tree conversion but also the other way and then you can insert code at any point... ;) However, this would need major update when/if matz changes to byte-code interpreter. Regards, Robert