NAME
src/pmc/eval.pmc - Dynamic code evaluation
DESCRIPTION
Eval extends Sub to provide eval-like dynamic code evaluation and execution.
Methods
- static void clear_fixups(PARROT_INTERP, const Parrot_Sub_attributes *sub_data)
- static PMC* get_sub(PARROT_INTERP, PMC *self, int idx)
- static void mark_subs(PARROT_INTERP, PMC *self)
- opcode_t *invoke(void *next)Invokes the first subroutine in the eval code.
- STRING *get_stringGet a STRING representing the bytecode for this code segment,
suitable for writing to disc and later loading via
- PMC *get_pmc_keyed_int(INTVAL key)Returns the Sub PMC of the element at index
- void freeze(PMC *info)Archives the evaled code
- void thaw(PMC *info)Unarchives the code.
load_bytecode.
key or PMCNULL.
HISTORY
Initial version by leo 2003/01/16.
