NAME ^

src/inter_misc.c - Parrot Interpreter miscellaneous functions

DESCRIPTION ^

NCI function setup, compiler registration, interpinfo, and sysinfo opcodes.

Functions ^

register_nci_method

Create an entry in the nci_method_table for the given NCI method of PMC class type.

Parrot_mark_method_writes

Mark the method name on PMC type type as one that modifies the PMC.

Parrot_compreg

Register a parser/compiler function.

Parrot_compile_string

Compile code string.

Parrot_compile_file

Compile code file.

interpinfo

what specifies the type of information you want about the interpreter.

interpinfo_p

what specifies the type of information you want about the interpreter.

sysinfo_i

Returns the system info.

info_wanted is one of:

    PARROT_INTSIZE
    PARROT_FLOATSIZE
    PARROT_POINTERSIZE
In unknown info is requested then -1 is returned.

sysinfo_s

Returns the system info string.

info_wanted is one of:

    PARROT_OS
    PARROT_OS_VERSION
    PARROT_OS_VERSION_NUMBER
    CPU_ARCH
    CPU_TYPE
If unknown info is requested then and empty string is returned.


parrot