|
Perl 6
SMOP Boot Sequence: Revision 2
Because of the way that SMOP OO Bootstrap, it's important to have a very precise definition of its boot process, in order to make sure that no call using values that weren't yet defined occour, since this would probably cause a segfault. SMOP Boot SequenceSMOP Constant IdentifiersThe constant identifiers, as its Responder Interface, use a very simplistic code to start. It uses plain libc calloc calls to initialize it, with static methods. Before the boot finishes, it is not allowed to call any method on a constant identifier. The correct way of matching a constant identifier during boot is by checking for pointer equity. This values are not subject to garbage collection. SMOP LowlevelThe smop lowlevel implements the basic default memory management mechanism of SMOP. SMOP Lowlevel Capture ObjectThe other mandatory thing, besides the identifier, to every call to anything is a capture object. SMOP Interpreter InstanceThe prototype of the interpreter instance is the one that will enable evaluating any code. |