Parrot Parrot Compiler Toolkit #57

Defining an operation, cont'd

All other operators call subroutines with the same name as the operator, passing operands as arguments:

proto infix:<&> { ... }

.sub 'infix:&'
    .param int left
    .param int right
    ...
.end
Copyright © 2009
http://www.pmichaud.com/2009/pres/