parrotcode: The Parrot embedding interface | |
Contents | C |
src/embed.c - The Parrot embedding interface
This file implements the Parrot embedding interface.
Parrot_new
parent
is NULL
) is the last one to get destroyed.Parrot_init
Parrot_init_stacktop
Parrot_set_flag
flag
,
any of PARROT_BOUNDS_FLAG
,
or PARROT_PROFILE_FLAG
to enable profiling,
and bounds checking respectively or PARROT_THR_TYPE_1
,
PARROT_THR_TYPE_2
,
or PARROT_THR_TYPE_3
to disable thread communication and variable sharing,
disable variable sharing but enable thread communication,
or to enable variable sharing.Parrot_set_debug
PARROT_DEBUG_FLAG
.Parrot_set_trace
PARROT_TRACE_FLAG
Parrot_clear_flag
Parrot_clear_debug
Parrot_clear_trace
Parrot_test_flag
flag
.Parrot_test_debug
flag
.Parrot_test_trace
flag
.Parrot_set_run_core
Parrot_setwarnings
Parrot_readbc
PackFile
structure,
and do fixups.Parrot_loadbc
PackFile
returned by Parrot_readbc()
.setup_argv
ARGS
array PMC.prof_sort_f
op_name
calibrate
parrot -p
almost match those measured with time parrot -b
.print_profile
print_debug
Parrot_runcode
ARGV
and runs the ops.Parrot_debug
Parrot_disassemble
Parrot_run_native
func
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.
|