Parrot Parrot Compiler Toolkit #56

Defining an operation

Once the parser knows about an operator token, we need to define what it does

Operators that correspond to Parrot opcodes use 'is pirop':

##  exponentiation
proto infix:<**>
    is tighter(infix:<*>)
    is pirop('pow') { ... }
continued...
Copyright © 2008 Patrick R. Michaud
http://www.pmichaud.com/2008/pres/