NAME

Parrot::OpsFile

SYNOPSIS

use Parrot::OpsFile;

DESCRIPTION

Take a file of opcode functions and create real C code for them

opcode functions are in the format:

inline op opname (...) {
 ... body of function ...
}

for ops that have trivial bodies (such as just a call to some other function and a return statement).

The closing brace must be on its own line.

Alternately, for opcode functions that have more internal complexity:

op opname (...) {
  ... body of function ...
}

There may be more than one RETURN

The functions have the magic variables $1 to $N for arguments 1 through N. (Argument 0 is the opcode number) Types for each, and the size of the return offset, are determined from the opfunc signature.

AUTHORS

LICENSE

COPYRIGHT