| parrotcode: The Parrot embedding interface | |
| Contents | C |

src/embed.c - The Parrot embedding interface

This file implements the Parrot embedding interface.

Parrot_Interp Parrot_newparent is NULL) is the last one to get destroyed.void Parrot_init_stacktopvoid Parrot_set_flagflag,
in the interpreter:PARROT_BOUNDS_FLAG enable bounds checking PARROT_PROFILE_FLAG enable profiling,
PARROT_THR_TYPE_1 disable variable sharing and thread communication PARROT_THR_TYPE_2 disable variable sharing but enable thread communication PARROT_THR_TYPE_3 enable variable sharing.void Parrot_set_debugPARROT_DEBUG_FLAG.void Parrot_set_executable_namepbc_to_exe and the parrot binary).void Parrot_set_tracePARROT_TRACE_FLAGvoid Parrot_clear_flagvoid Parrot_clear_debugvoid Parrot_clear_traceParrot_Int Parrot_test_flagflag.UINTVAL Parrot_test_debugflag.UINTVAL Parrot_test_traceflag.void Parrot_set_run_corevoid Parrot_setwarningsPackFile *Parrot_readbcPackFile structure,
and do fixups.void Parrot_loadbcPackFile returned by Parrot_readbc().static PMC *setup_argvARGS array PMC.static int prof_sort_fstatic const char *op_namestatic FLOATVAL calibrateparrot -p almost match those measured with time parrot -b.static void print_profilestatic void print_debugstatic PMC *set_current_subvoid Parrot_runcodeARGV and runs the ops.opcode_t *Parrot_debugvoid Parrot_disassemblevoid Parrot_run_nativefunc through the program [enternative, end].
This ensures that the function is run with the same setup as in other run loops.
include/parrot/embed.h and docs/embed.pod.

Initial version by Brent Dax on 2002.1.28.
|
|
|