NAME ^

classes/eval.pmc - Dynamic code evaluation

DESCRIPTION ^

Eval extends Closure to provide eval-like dynamic code evaluation and execution.

Methods ^

STRING *get_string

Get a STRING representing the bytecode for this code segment, suitable for writing to disc and later loading via load_bytecode.

void freeze(visit_info *info)

Archives the evaled code

void thaw(visit_info *info)

Unarchives the code.

void thawfinish(visit_info *info)

Final code fixup after thawing.

HISTORY ^

Initial version by leo 2003/01/16.


parrot