parrotcode:
Parrot Sample Ops
Contents
|
Libraries
NAME
myops.ops - Parrot Sample Ops
DESCRIPTION
A dynamic oplib loadable at demand.
Essential ops
fortytwo
(out INT)
The famous and ever wanted opcode, proposed by Jos Visser in "We *need* this op! :-)".
what_do_you_get_if_you_multiply_six_by_nine
(out INT)
Alternate spelling of this op, proposed by Nicholas Clark. It might bring imcc to its limits due the lengthy name.
alarm
(in NUM, in PMC)
Call alarm handler sub $2 after $1 time has elapsed.
alarm
(in NUM, in NUM, in PMC)
Call alarm handler sub $3 after $1 time has elapsed, repeat after $2.