On 6/14/05, Chip Salzenberg <[EMAIL PROTECTED]> wrote:
>     .sub __add
>         .param  MyType  $P0 :flags(0x40)  # or @flags(0x40)? - inv. w/o colon 
> (e.g.)
>         .param          $I0 :flags(0x20)  # invocant with colon (e.g.)
...
> What do you think?

I think the typecodes are unnecessary with a metadata syntax, and the
numeric codes in general are looking increasingly silly.  If this
isn't a normal opcode, why not just detect the register type and use a
space-separated list of keywords, and save people the mental
bit-twiddling?

    .param Int $P0
    .param Str $P1
    .param Array $P2 fold

-- 
Brent 'Dax' Royal-Gordon <[EMAIL PROTECTED]>
Perl and Parrot hacker

Reply via email to