Parrot::OpTrans::C - Ops to C Code Generation
Parrot::OpTrans::C inherits from Parrot::OpTrans to provide a function-based (slow or fast core) run loop.
Parrot::OpTrans::C
Parrot::OpTrans
core_type()
Returns PARROT_FUNCTION_CORE.
PARROT_FUNCTION_CORE
core_prefix()
Returns an empty string.
defines()
Returns the C #define macros for register access etc.
#define
gen_goto($where)
Reimplements the superclass method so that $where is suitably cast.
$where
expr_address($address)
Returns the C code for ADDRESS($address). Called by goto_address().
ADDRESS($address)
goto_address()
expr_offset($offset)
Returns the C code for OFFSET($offset). Called by goto_offset().
OFFSET($offset)
goto_offset()
expr_pop()
Returns the C code for POP(). Called by goto_offset().
POP()
access_arg($type, $value, $op)
Returns the C code for the specified op argument type (see Parrot::OpTrans) and value. $op is an instance of Parrot::Op.
$op
Parrot::Op
restart_offset($offset)
Returns the C code for restart OFFSET($offset).
restart OFFSET($offset)
restart_address($address)
Returns the C code for restart ADDRESS($address).
restart ADDRESS($address)
Parrot::OpTrans::CGP
Parrot::OpTrans::CGoto
Parrot::OpTrans::CPrederef
Parrot::OpTrans::CSwitch
Parrot::OpTrans::Compiled
To install Parrot::Op, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Parrot::Op
CPAN shell
perl -MCPAN -e shell install Parrot::Op
For more information on module installation, please visit the detailed CPAN module installation guide.