On Dec 2, 2005, at 19:44, Matt Diephouse wrote:

Leopold Toetsch <[EMAIL PROTECTED]> wrote:

I'm missing the policy in this proposal, e.g. what is allowed to be a
top-level global, how are HLL namespaces organized. And of course:
where is the Parrot namespace for it's PMCs.

I don't think I follow this part.

Parrot PMCs are occupying top-level namespaces (now):

$ cat i.pir
.sub main :main
    .local pmc i,m
    i = new .Integer
    i."bark"()
.end
.namespace ['Integer']
.sub bark :method
    print "miau\n"
.end

$ ./parrot i.pir
miau

Further: all internal multisubs for the infix ops like "__add" need a namespace for storage, currently it is: "__parrot_core".

leo

Reply via email to