myops.ops - Parrot Sample Ops
A dynamic oplib loadable at demand.
- 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.
- hcf
- Halt and Catch Fire.
Tries to crash parrot.
- q
- Support for writing a very short quine.
- bxand(out INT,
in INT,
in INT)
- Binary operator,
defined as A and B,
but not BOTH.
- 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.