Parrot::OpsFile
use Parrot::OpsFile;
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).
return
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.
$1
$
To install Make, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Make
CPAN shell
perl -MCPAN -e shell install Make
For more information on module installation, please visit the detailed CPAN module installation guide.