Parrot::OpTrans::C 0.4.5 review

Download
by rbytes.net on

Parrot::OpTrans::C is a Perl module for Ops to C Code Generation. DESCRIPTION Parrot::OpTrans::C inherits from Parrot::OpTrans

License: GPL (GNU General Public License)
File size: 3171K
Developer: The Parrot Team
0 stars award from rbytes.net

Parrot::OpTrans::C is a Perl module for Ops to C Code Generation.

DESCRIPTION

Parrot::OpTrans::C inherits from Parrot::OpTrans to provide a function-based (slow or fast core) run loop.

Instance Methods

core_type()

Returns PARROT_FUNCTION_CORE.

core_prefix()

Returns an empty string.

defines()

Returns the C #define macros for register access etc.

gen_goto($where)

Reimplements the superclass method so that $where is suitably cast.

expr_address($address)

Returns the C code for ADDRESS($address). Called by goto_address().

expr_offset($offset)

Returns the C code for OFFSET($offset). Called by goto_offset().

expr_pop()

Returns the C code for POP(). Called by goto_offset().

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.

restart_offset($offset)

Returns the C code for restart OFFSET($offset).

restart_address($address)

Returns the C code for restart ADDRESS($address).

Requirements:
Perl

Parrot::OpTrans::C 0.4.5 keywords