Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> A bunch of namespace opcodes and methods could work absolute or
> relative. E.g.
>
>    $P0 = get_namespace ["Foo"; "Bar"]
>
> Where should the lookup start?

Absolute. If people want relative lookups, I'd consider adding another opcode:

  $P1 = get_namespace # this exists - get the current namespace
  $P2 = get_namespace $P1, ["Foo"; "Bar"] # this doesn't - lookup
Foo::Bar in $P1 (the current namespace)

--
matt diephouse
http://matt.diephouse.com

Reply via email to