Re: Re: Re: test of get_namespace opcode vs. arrays

2006-07-01 Thread Matt Diephouse
Chip Salzenberg <[EMAIL PROTECTED]> wrote: I've rooted out that bug, but then discovered there's no way left to designate the root HLL namespace, so I've invented .namespace # no key to mean the HLL root. That resolves the other ticket I opened yesterday (good). But I'd prefer to have C< .

Re: Re: test of get_namespace opcode vs. arrays

2006-07-01 Thread Chip Salzenberg
On Sat, Jul 01, 2006 at 01:30:40PM -0700, Matt Diephouse wrote: > Chip Salzenberg <[EMAIL PROTECTED]> wrote: > >The actual bug you've found seems unrelated to the use of the array of > >strings (vs. a key), as substituting the key version: > > $P0 = get_namespace [''] > >still fails. Debugging i

Re: Re: test of get_namespace opcode vs. arrays

2006-07-01 Thread Matt Diephouse
Chip Salzenberg <[EMAIL PROTECTED]> wrote: The actual bug you've found seems unrelated to the use of the array of strings (vs. a key), as substituting the key version: $P0 = get_namespace [''] still fails. Debugging in progress. It looks like IMCC treats C< .namespace [''] > as the root H

Re: test of get_namespace opcode vs. arrays

2006-07-01 Thread Chip Salzenberg
On Sat, Jul 01, 2006 at 10:56:26AM -0700, Matt Diephouse wrote: > At the top of the pdd: > - Add a get_namespace opcode (that takes an -->array<-- or a >multidimensional hash index) > [...] >=item $P0 = get_namespace $P1 > >Get the namespace $P1 (an -->array<-- of names or [...] Gee

Re: test of get_namespace opcode vs. arrays

2006-07-01 Thread Matt Diephouse
Chip Salzenberg <[EMAIL PROTECTED]> wrote: On Sat, Jul 01, 2006 at 12:22:56AM -0700, [EMAIL PROTECTED] wrote: > Another FAILING namespace test: > $P0 = new .ResizableStringArray > $P0[0] = '' > $P1 = get_namespace $P0 I think I (or the pdd) may have been misunderstood: The get_namespace

test of get_namespace opcode vs. arrays

2006-07-01 Thread Chip Salzenberg
On Sat, Jul 01, 2006 at 12:22:56AM -0700, [EMAIL PROTECTED] wrote: > Another FAILING namespace test: > $P0 = new .ResizableStringArray > $P0[0] = '' > $P1 = get_namespace $P0 I think I (or the pdd) may have been misunderstood: The get_namespace opcode currently accepts keys (and strings).