Re: RFC: Reduce closure magic

2006-10-08 Thread Bob Rogers
From: Leopold Toetsch <[EMAIL PROTECTED]> Date: Sun, 8 Oct 2006 13:14:22 +0200 Am Sonntag, 8. Oktober 2006 03:52 schrieb Bob Rogers: > Sounds good to me.  But in that case, outer_ctx is not much better > . . . but that's probably a much bigger job. > >    In any case, I discov

Re: RFC: Reduce closure magic

2006-10-08 Thread Leopold Toetsch
Am Sonntag, 8. Oktober 2006 03:52 schrieb Bob Rogers: > Sounds good to me.  But in that case, outer_ctx is not much better > . . . but that's probably a much bigger job. > >    In any case, I discovered that Lua fails ~300 test cases with this > patch.  So, if we still consider it worth dropping th

Re: RFC: Reduce closure magic

2006-10-07 Thread Larry Wall
Note that Perl 6 requires mutable subs, at least to the extent that you can .wrap them in place to do AOP and DBC and such. If Parrot has immutable subs that's okay, but it forces a level of indirection on us, and perhaps a level of non-interoperability. Larry

Re: RFC: Reduce closure magic

2006-10-07 Thread Bob Rogers
From: Leopold Toetsch <[EMAIL PROTECTED]> Date: Sat, 7 Oct 2006 13:49:10 +0200 Am Samstag, 7. Oktober 2006 04:07 schrieb Bob Rogers: > ? ?To my surprise, I found a 'ctx' member in struct Parrot_sub. ?It > appears that this is only used for the "autoclose" feature, which AFAICS >

Re: RFC: Reduce closure magic

2006-10-07 Thread Leopold Toetsch
Am Samstag, 7. Oktober 2006 04:07 schrieb Bob Rogers: >    To my surprise, I found a 'ctx' member in struct Parrot_sub.  It > appears that this is only used for the "autoclose" feature, which AFAICS > is not documented. Well, audreyt wanted to have this feature. But you are right: it's a bad thin