Re: modifying classes after they're instantiated

2007-04-11 Thread Bob Rogers
From: Allison Randal <[EMAIL PROTECTED]> Date: Wed, 11 Apr 2007 01:12:57 -0700 Alek Storm wrote: > On 4/11/07, Bob Rogers <[EMAIL PROTECTED]> wrote: >> Surely you are not suggesting that any random "add_method" should >> require creating a new class? Did you mean "add_attribute"

[perl #42337] [PATCH]: Configure.pl: Refactor list of steps into Parrot::Configure::Step::List

2007-04-11 Thread James Keenan via RT
Patches applied; closing ticket.

[perl #42337] [PATCH]: Configure.pl: Refactor list of steps into Parrot::Configure::Step::List

2007-04-11 Thread James Keenan via RT
Applied to trunk in r18157 Also, in r18158 applied some small changes in docs/configuration.pod to point to Parrot::Configure::Step::List as new location for list of configuration steps used in Configure.pl.

Re: [perl #42430] [PATCH] make :vtable imply :method

2007-04-11 Thread chromatic
On Wednesday 11 April 2007 05:40, Alek Storm wrote: > On 4/11/07, Allison Randal <[EMAIL PROTECTED]> wrote: > > Actually, setting :vtable without setting :method makes a great deal of > > sense, if you want to override a low-level vtable operation without > > adding a named method to the class.

Re: [perl #42430] [PATCH] make :vtable imply :method

2007-04-11 Thread Alek Storm
On 4/11/07, Allison Randal <[EMAIL PROTECTED]> wrote: Actually, setting :vtable without setting :method makes a great deal of sense, if you want to override a low-level vtable operation without adding a named method to the class. Allison Just use the :anon flag. It was designed for this. Vt

Re: Working on punie + rindolf (the implementation) Reloaded

2007-04-11 Thread Jonathan Worthington
chromatic wrote: On Tuesday 10 April 2007 18:51, Shlomi Fish wrote: (Although it seems the most interesting promises made by parrot - fast typeless code for example - are not going to be delivered, too). Hmmm I haven't been closely following Parrot. Despite this menti

[ANNOUNCE] Hackathon Toronto, Saturday April 28

2007-04-11 Thread James Keenan
Toronto Perlmongers are pleased to announce Hackathon Toronto, a one- day, almost-spur-of-the-moment hackathon, to be held Saturday, April 28, 2007. A hackathon is a gathering of free and open source software developers reflecting the joy of collective hacking. Building on the tradition o

Re: Working on punie + rindolf (the implementation) Reloaded

2007-04-11 Thread chromatic
On Tuesday 10 April 2007 18:51, Shlomi Fish wrote: > > (Although it seems the most interesting promises made by parrot - fast > > typeless code for example - are not going to be delivered, too). > Hmmm I haven't been closely following Parrot. Despite this mention, this thread is off-topic fo

Re: modifying classes after they're instantiated

2007-04-11 Thread Allison Randal
Alek Storm wrote: On 4/11/07, Bob Rogers <[EMAIL PROTECTED]> wrote: I like this one, but I also have another alternative. First, make all class-modification code (add_method, remove_attribute, etc) return a PMC*. Whenever one of these methods is called on a class, the class is clon

Re: [perl #42430] [PATCH] make :vtable imply :method

2007-04-11 Thread Allison Randal
Alek Storm (via RT) wrote: This patch makes the :vtable sub pragma imply the :method pragma, which seems like common sense to me, since using :vtable without :method doesn't make much sense, and vtable overrides are called as methods from C anyway. Using :vtable and :method explicitly still wor

Re: Working on punie + rindolf (the implementation) Reloaded

2007-04-11 Thread Shlomi Fish
On Monday 02 April 2007, Marc Lehmann wrote: > On Sat, Mar 31, 2007 at 05:06:34AM +0300, Shlomi Fish <[EMAIL PROTECTED]> wrote: > > Hi Marc! > > > > May I forward my reply to the list? > > Yes, you may. Sorry for replying probably too late, thanks for asking > first! > OK. Replying to two differe

[perl #42430] [PATCH] make :vtable imply :method

2007-04-11 Thread Alek Storm
# New Ticket Created by "Alek Storm" # Please include the string: [perl #42430] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=42430 > This patch makes the :vtable sub pragma imply the :method pragma, which seems like commo

Re: modifying classes after they're instantiated

2007-04-11 Thread Allison Randal
Leopold Toetsch wrote: Am Mittwoch, 11. April 2007 00:25 schrieb Allison Randal: 3) Modify the core PMC implementation so it tracks information about which the different containers (registers, temporary variables, namespace entries, etc.) that hold a particular PMC, and which particular containe