bool_obj

BOOL Objects.

This file contains foundation object classes plus meta-type instance and builder classes.

The BoolModule definition includes default @system and @global implementations.

classes:
    BoolDefs            (object)        - Basic BOOL definitions
    BoolAddress         (tuple)         - BOOL Address class
    BoolPStack          (object)        - Parameter Stack

    BoolTuple           (tuple)         - BOOL run-time object base class
    BoolList            (BoolTuple)     - List object
    BoolMessage         (BoolTuple)     - Message object
    BoolInstance        (BoolTuple)     - Instance object
    BoolReference       (BoolTuple)     - Reference object
    BoolAction          (BoolTuple)     - Action object
    BoolActor           (BoolTuple)     - Actor object
    BoolModel           (BoolTuple)     - Model object

    BoolModule          (BoolTuple)     - BOOL RTE Module object
    BoolNameTable       (object)        -

TheWyrdSmythe@gmail.com
February 2014

type BoolAction

BOOL Action Object class.

type BoolActor

BOOL Actor Object class.

type BoolAddress

Bool Address class. Just a named tuple: (ns, value)

type BoolDefs

Bool definitions base class.

type BoolInstance

BOOL Instance Object class.

type BoolList

BOOL List Object class.

type BoolMessage

BOOL Message Object class.

type BoolModel

BOOL Model Object class.

type BoolModule

Bool (extended) Tuple base class.

type BoolNameTable

Bool NameTable base class.

type BoolPStack

BOOL Parameter Stack.

The Parameter Stack carries parameters into and out of Actions.

Usually, input parameters are references to Objects, but they
can be new Objects created on the fly (for pass by value).

Output parameters are often Objects created in the Action that
need to be transferred to the calling frame. This requirement,
and the pass by value ability, require the parameter stack be
capable of containing entire Objects like Address Space does.
This is in addition to holding references to Objects in the
usual Address Space.

type BoolReference

BOOL Reference Object class.

type BoolTuple

Bool (extended) Tuple base class.

function BoolDefaultGlobalAction

BOOL/RTE @global Action.

Defined as if:
    | @@global
    | >>  *list args
    | >>  *list envs
    | <<  *bool retv
    | .
    | .   {{Library Models & Actions}}
    | .   {{User-defined Models & Actions}}
    | .
    | .   =? @defined (@main)
    | .   .   set:retv @main args envs

function BoolDefaultSystemAction

BOOL/RTE @system Action.

Defined as if:
    | @@system
    | .   *list args
    | .   *list envs
    | .   *bool retv
    | .
    | .   {{Base Constants}}
    | .   {{Native Models}}
    | .   {{Native Actions}}
    | .   {{User Constants}}
    | .
    | .   set:retv @global args envs

function main

Package Main.

function test1

Test #1.