Sorry, forgot to send this to the list.
---------- Forwarded message ----------
Date: Wed, 4 Mar 2009 17:16:22 +1100 (EST)
From: Timothy S. Nelson <wayl...@wayland.id.au>
To: Carl Mäsak <cma...@gmail.com>
Subject: Re: Fwd: More S29/S32 Masak ideas
On Tue, 3 Mar 2009, Carl Mäsak wrote:
# context().
Added to S29, but I still don't know where these should go.. Maybe
on
Block?
S06:1940 seems to treat it as a pure function, not as methods. That
kind of makes sense, given its argument list.
Yeah, I agree. I guess I just like for everything to be a method on
something, and some of them just have forms that work as functions as well :).
And S06:2072 seems to imply that it goes on the Context; but maybe...
context() === $?CONTEXT
$?CONTEXT.context() === context().context()
?
# callsame, callwith, nextsame, nextwith, lastcall.
Didn't know where these should go, but probably the same place as
context()/caller().
S06:2072 seems to say Block.
Ok, thanks. I have a question about that section. Immediately above
that list just above the section you talked about, it refers to the "returned
context object". I want to know what this can be. Is it synonymous with
Block? With Code? With something else? Is it its own role?
# Method descriptor objects: .name, .signature, .as, .multi, .do.
In Callable.pod
.name is on Routine
.signature is on Code
.do is on Code (I'm guessing here)
I'm not sure where the others go:
.multi must be on something that gets it into Routine
.as must be on something that gets it into Method (higher?)
See S12:1987 for this.
Are these line numbers you're using? POD line numbers? I don't see a
line 1987 in this (the file isn't big enough).
I still believe that must be interpreted as
there being a specific MethodDescriptor object on which all of .name,
..signature, .as, .multi, .do are attached.
I'm guessing that .^methods should really return a bunch of Method
objects.
No, MethodDescriptor objects. See S12:1987.
Hmm. I don't like it :). You may be right, but I was assuming that we
were returning *Method* objects.
# Attribute descriptor objects: .name, .type, .scope, .rw, .private,
.accessor, .build, .readonly.
I wonder what type would be appropriate for an attribute descriptor
object. I haven't done anything with these either.
See S12:1999.
Only has 1764 lines in my editor. And wc says 1763.
I presume you're implying there should be an AttributeDescriptor role,
yes?
:)
---------------------------------------------------------------------
| Name: Tim Nelson | Because the Creator is, |
| E-mail: wayl...@wayland.id.au | I am |
---------------------------------------------------------------------
----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- PE(+) Y+>++ PGP->+++
R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----
---------------------------------------------------------------------
| Name: Tim Nelson | Because the Creator is, |
| E-mail: wayl...@wayland.id.au | I am |
---------------------------------------------------------------------
----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V-
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----