Re: Adding ATTRs to a pmc.

2008-06-10 Thread chromatic
On Tuesday 10 June 2008 09:54:02 Will Coleda wrote: > >> Is this right? Do we need to copy and modify this everywhere we want > >> to use ATTR? It seems like, if this wrangling is actually necessary, > >> that we should be automatically constructing set_attr_str() with the > >> pmc2c compiler. > >

Re: Adding ATTRs to a pmc.

2008-06-10 Thread Will Coleda
On Tue, Jun 10, 2008 at 12:45 PM, chromatic <[EMAIL PROTECTED]> wrote: > On Tuesday 10 June 2008 07:50:41 Will Coleda wrote: > >> I tried to replace tcl's tclproc.pir (a subclass of Sub that added >> attributes via PIR) with a pmc version. >> >> Here's my first attempt: >> >> pmclass TclProc >>

Re: Adding ATTRs to a pmc.

2008-06-10 Thread chromatic
On Tuesday 10 June 2008 07:50:41 Will Coleda wrote: > I tried to replace tcl's tclproc.pir (a subclass of Sub that added > attributes via PIR) with a pmc version. > > Here's my first attempt: > > pmclass TclProc > dynpmc > extends Sub > group tcl_group > hll Tcl > maps

Adding ATTRs to a pmc.

2008-06-10 Thread Will Coleda
I tried to replace tcl's tclproc.pir (a subclass of Sub that added attributes via PIR) with a pmc version. Here's my first attempt: pmclass TclProc dynpmc extends Sub group tcl_group hll Tcl mapsSub { ATTR STRING *PIR_source; /* the PIR level source */