Re: pdd21 notes

2006-01-25 Thread Chip Salzenberg
On Tue, Jan 24, 2006 at 12:34:28PM -0800, Chip Salzenberg wrote: > add_scalar(STRING, PMC*) > add_array(STRING, PMC*) > add_hash(STRING, PMC*) WRT namespaces, I'm starting to think we should replace each *_var() functions with three functions *_scalar(), *_array(), and *_hash(). Parro

Re: pdd21 notes

2006-01-24 Thread Chip Salzenberg
On Tue, Jan 24, 2006 at 08:29:45PM -0500, Matt Diephouse wrote: > Chip Salzenberg <[EMAIL PROTECTED]> wrote: > > Say, that gives me an idea. Python-like untyped namespaces are a > > significant subpopulation. > > > > Matt: How about a standard namespace method: > > > > INTVAL is_typed() > > >

Re: pdd21 notes

2006-01-24 Thread Matt Diephouse
Chip Salzenberg <[EMAIL PROTECTED]> wrote: > Say, that gives me an idea. Python-like untyped namespaces are a > significant subpopulation. > > Matt: How about a standard namespace method: > > INTVAL is_typed() > > which returns false for the simple Python-like unmangled namespaces? This > wou

Re: pdd21 notes

2006-01-24 Thread Chip Salzenberg
Following up to myself, I just had an idea about expanding the typed interface: On Tue, Jan 24, 2006 at 12:26:30PM -0800, Chip Salzenberg wrote: > The Perl namespace's typed interface will have to figure out what kind of > variable it thinks it's getting. That decision could be fairly arbitrary,

Re: pdd21 notes

2006-01-24 Thread Chip Salzenberg
{reordered for better reading} On Mon, Jan 23, 2006 at 10:56:33PM +0100, Leopold Toetsch wrote: > *)Typed Interface > > I've already layed out earlier in reply to Matt's proposal that this > will be mostly unusable for e.g. Python. First, please remember that when Python exports to Pyth

Re: pdd21 notes

2006-01-24 Thread Chip Salzenberg
On Tue, Jan 24, 2006 at 01:36:23PM -0500, Matt Diephouse wrote: > Leopold Toetsch <[EMAIL PROTECTED]> wrote: > > Some unsorted notes while reading through it: > > *) definition: "current namespace" > > *) namespace separator: "::" > > In this document, "::" indicates namespa

Re: pdd21 notes

2006-01-24 Thread Matt Diephouse
Leopold Toetsch <[EMAIL PROTECTED]> wrote: > Some unsorted notes while reading through it: > > *) definition: "current namespace" > *) namespace separator: "::" > In this document, "::" indicates namespace nesting. As conventions, these are only here to make it easier to c

pdd21 notes

2006-01-23 Thread Leopold Toetsch
Some unsorted notes while reading through it: *) definition: "current namespace" ... (Pasm also has its own separate concept of current namespace ... Why and how? And what doest that mean? I don't see any difference WRT PASM code. *) namespace separator: "::" In thi