Dan Sugalski <[EMAIL PROTECTED]> wrote:
> This needs some docs, but I figured I'd throw out the short
> description to the list since they've come up, and we ought to finish
> them.

$ cat does.pasm
    new P0, .Array
    does I0, P0, "array"
    print I0
    does I0, P0, "scalar"
    print I0
    print "\n"
    end

$ parrot does.pasm
10

TODO is AFAIK walk the parent chain and define some standard names for
known interfaces we provide. And the dynamic variants of interface
changes.

The class compiler understands:

  pmclass Class ... does foo does bar

leo

Reply via email to