ceptr
 All Data Structures Files Functions Variables Typedefs Macros Modules Pages
System Structures Reference

The virtual machine provides the following system structures:

Key in structure defintions: SEQ = Sequence of, * = zero or more, + = one or more, ? zero or one, OR = logical or, % = symbol of given structure, ! = any symbol.

StructureDefintionComments
NULL-STRUCTUREundefined
BITNULL_SYMBOL surface is 0 or 1
INTEGERNULL_SYMBOL surface is a c int
INTEGER64NULL_SYMBOL surface is a c long
FLOATNULL_SYMBOL surface is a c float
CHARNULL_SYMBOL surface is a c char
CSTRINGNULL_SYMBOL surface is a null terminated set of bytes
SYMBOLNULL_SYMBOL surface is a c struct (SemID) representing symbols
STRUCTURENULL_SYMBOL surface is a c struct (SemID) representing structures
PROCESSNULL_SYMBOL surface is a c struct (SemID) representing processes
PROTOCOLNULL_SYMBOL surface is a c struct (SemID) representing protocols
RECEPTORNULL_SYMBOL surface is a c struct (SemID) representing receptors
SCAPENULL_SYMBOL
ENUMNULL_SYMBOL @todo
TREE_PATHNULL_SYMBOL surface is an -1 terminated set of c ints
XADDRNULL_SYMBOL
SURFACENULL_SYMBOL
TREENULL_SYMBOL surface is a c pointer to a tree
RECEPTOR_SURFACENULL_SYMBOL surface is a c pointer to a receptor structure
SEMTREXNULL_SYMBOL
CPOINTERNULL_SYMBOL surface is c pointer of some sort, used for edge receptor data
UUIDNULL_SYMBOL surface is a c struct holding a UUID
BLOBNULL_SYMBOL surface is an undefined blob of bytes
LIST-OF-STRUCTURES-AND-SYMBOLS-AND-PROCESSES-AND-PROTOCOLS-AND-RECEPTORS-AND-ZERO-OR-MORE-OF-SCAPESSEQ(STRUCTURES, SYMBOLS, PROCESSES, PROTOCOLS, RECEPTORS, *(SCAPES))
STRUCTURE-DEFOR(STRUCTURE_SYMBOL, STRUCTURE_SEQUENCE, STRUCTURE_OR, STRUCTURE_ZERO_OR_MORE, STRUCTURE_ONE_OR_MORE, STRUCTURE_ZERO_OR_ONE, STRUCTURE_STRUCTURE, STRUCTURE_ANYTHING)
LABEL+(%CSTRING)
TUPLE-OF-STRUCTURE-LABEL-AND-STRUCTURE-DEFSEQ(STRUCTURE_LABEL, STRUCTURE_DEF)
ZERO-OR-MORE-OF-STRUCTURE-DEFINITION*(STRUCTURE_DEFINITION)
ONE-OR-MORE-OF-STRUCTURE-DEF+(STRUCTURE_DEF)
TUPLE-OF-SYMBOL-LABEL-AND-SYMBOL-STRUCTURESEQ(SYMBOL_LABEL, SYMBOL_STRUCTURE)
ZERO-OR-MORE-OF-SYMBOL-DEFINITION*(SYMBOL_DEFINITION)
SEMTREX-DEFOR(SEMTREX_SYMBOL_LITERAL, SEMTREX_SYMBOL_LITERAL_NOT, SEMTREX_SEQUENCE, SEMTREX_OR, SEMTREX_NOT, SEMTREX_SYMBOL_ANY, SEMTREX_ZERO_OR_MORE, SEMTREX_ONE_OR_MORE, SEMTREX_ZERO_OR_ONE, SEMTREX_VALUE_LITERAL, SEMTREX_VALUE_LITERAL_NOT, SEMTREX_GROUP, SEMTREX_WALK, SEMTREX_DESCEND)
ONE-OR-MORE-OF-SEMTREX-SYMBOL+(SEMTREX_SYMBOL)
SEMTREX-SYMBOL-LITERAL-DEFSEQ(OR(SEMTREX_SYMBOL, SEMTREX_SYMBOL_SET), *(!))
ONE-OR-MORE-OF-SEMTREX-DEF+(SEMTREX_DEF)
PAIR-OF-SEMTREX-DEFSEQ(SEMTREX_DEF, SEMTREX_DEF)
ZERO-OR-ONE-OF-ANY-SYMBOL?(!)
ONE-OR-MORE-OF-ANY-SYMBOL+(!)
SEMTREX-VALUE-LITERAL-DEFOR(!, SEMTREX_VALUE_SET)
ONE-OR-MORE-OF-ASCII-CHAR+(ASCII_CHAR)
ASPECTSEQ(EXPECTATIONS, SIGNALS)
ONE-OR-MORE-OF-STRUCTURE-OF-ASPECT+(%ASPECT)
TUPLE-OF-ASPECT-TYPE-AND-ASPECT-LABELSEQ(ASPECT_TYPE, ASPECT_LABEL)
ONE-OR-MORE-OF-ASPECT-DEF+(ASPECT_DEF)
ONE-OR-MORE-OF-RECEPTOR-PATH+(RECEPTOR_PATH)
RECEPTOR-ADDRESSOR(RECEPTOR_ADDR, RECEPTOR_PATH)
LIST-OF-SIGNAL-UUIDSEQ(SIGNAL_UUID)
LIST-OF-CONVERSATION-UUIDSEQ(CONVERSATION_UUID)
LIST-OF-FROM-ADDRESS-AND-TO-ADDRESS-AND-ASPECT-IDENT-AND-CARRIER-AND-ZERO-OR-ONE-OF-CONVERSATION-IDENT-AND-ZERO-OR-ONE-OF-LOGICAL-OR-OF-END-CONDITIONS-AND-IN-RESPONSE-TO-UUIDSEQ(FROM_ADDRESS, TO_ADDRESS, ASPECT_IDENT, CARRIER, ?(CONVERSATION_IDENT), ?(OR(END_CONDITIONS, IN_RESPONSE_TO_UUID)))
TUPLE-OF-HEAD-AND-BODYSEQ(HEAD, BODY)
TUPLE-OF-ENVELOPE-AND-MESSAGESEQ(ENVELOPE, MESSAGE)
ZERO-OR-MORE-OF-SIGNAL*(SIGNAL)
CODE-REFSEQ(PROCESS_IDENT, CODE_PATH)
LIST-OF-SIGNAL-UUID-AND-CARRIER-AND-WAKEUP-REFERENCE-AND-END-CONDITIONS-AND-ZERO-OR-ONE-OF-CONVERSATION-IDENTSEQ(SIGNAL_UUID, CARRIER, WAKEUP_REFERENCE, END_CONDITIONS, ?(CONVERSATION_IDENT))
ZERO-OR-MORE-OF-PENDING-RESPONSE*(PENDING_RESPONSE)
LIST-OF-CARRIER-AND-PATTERN-AND-ACTION-AND-PARAMS-AND-END-CONDITIONS-AND-ZERO-OR-ONE-OF-SEMANTIC-MAP-AND-ZERO-OR-ONE-OF-CONVERSATION-UUIDSEQ(CARRIER, PATTERN, ACTION, PARAMS, END_CONDITIONS, ?(SEMANTIC_MAP), ?(CONVERSATION_UUID))
ZERO-OR-MORE-OF-EXPECTATION*(EXPECTATION)
ZERO-OR-MORE-OF-CONVERSATION*(CONVERSATION)
LIST-OF-CONVERSATION-UUID-AND-END-CONDITIONS-AND-CONVERSATIONS-AND-ZERO-OR-ONE-OF-WAKEUP-REFERENCESEQ(CONVERSATION_UUID, END_CONDITIONS, CONVERSATIONS, ?(WAKEUP_REFERENCE))
LOGICAL-OR-OF-PROCESS-OF-STRUCTURE-AND-PROCESS-OF-SYMBOL-AND-PROCESS-OF-PROCESSOR(PROCESS_OF_STRUCTURE, PROCESS_OF_SYMBOL, PROCESS_OF_PROCESS)
LOGICAL-OR-OF-TRANSCODER-AND-OPERATOR-AND-VALIDATOROR(TRANSCODER, OPERATOR, VALIDATOR)
TUPLE-OF-PROCESS-OF-AND-PROCESS-TYPESEQ(PROCESS_OF, PROCESS_TYPE)
ANY-SYMBOL!
LIST-OF-PROCESS-NAME-AND-PROCESS-INTENTION-AND-CODE-AND-PROCESS-SIGNATURE-AND-ZERO-OR-ONE-OF-PROCESS-LINKSEQ(PROCESS_NAME, PROCESS_INTENTION, CODE, PROCESS_SIGNATURE, ?(PROCESS_LINK))
ZERO-OR-MORE-OF-PROCESS-DEFINITION*(PROCESS_DEFINITION)
SEMANTIC-REFERENCEOR(GOAL, ROLE, USAGE, WEAL)
SLOT-STRUCTURESEQ(SEMANTIC_REFERENCE, ?(SLOT_IS_VALUE_OF), ?(SLOT_CHILDREN)) semantic id and optional indicator to fill the value not the structure for the element in the template that needs filling
TUPLE-OF-SEMANTIC-REFERENCE-AND-REPLACEMENT-VALUESEQ(SEMANTIC_REFERENCE, REPLACEMENT_VALUE)
SEMANTIC-LINKSSEQ(+(SEMANTIC_LINK))
LOGICAL-OR-OF-SIGNATURE-STRUCTURE-AND-SIGNATURE-SYMBOL-AND-SIGNATURE-PROCESS-AND-SIGNATURE-PASSTHRUOR(SIGNATURE_STRUCTURE, SIGNATURE_SYMBOL, SIGNATURE_PROCESS, SIGNATURE_PASSTHRU)
SIGNATURE-SEMANTIC-VARIANTSOR(SIGNATURE_STRUCTURE, SIGNATURE_SYMBOL, SIGNATURE_PROCESS, SIGNATURE_ANY)
TUPLE-OF-SIGNATURE-SEMANTIC-VARIANTS-AND-ZERO-OR-ONE-OF-SIGNATURE-OPTIONALSEQ(SIGNATURE_SEMANTIC_VARIANTS, ?(SIGNATURE_OPTIONAL))
TUPLE-OF-SIGNATURE-LABEL-AND-SIGNATURE-INPUT-TYPESEQ(SIGNATURE_LABEL, SIGNATURE_INPUT_TYPE)
TUPLE-OF-SIGNATURE-LABEL-AND-SIGNATURE-OUTPUT-TYPESEQ(SIGNATURE_LABEL, SIGNATURE_OUTPUT_TYPE)
LIST-OF-ZERO-OR-MORE-OF-EXPECTED-SLOTSEQ(*(EXPECTED_SLOT))
PROCESS-FORMSEQ(OUTPUT_SIGNATURE, *(INPUT_SIGNATURE), *(TEMPLATE_SIGNATURE))
LIST-OF-CODE-AND-PARAMS-AND-ZERO-OR-ONE-OF-CODE-AND-ZERO-OR-ONE-OF-PARAMSSEQ(CODE, PARAMS, ?(CODE), ?(PARAMS))
ZERO-OR-MORE-OF-ANY-SYMBOL*(!)
ONE-OR-MORE-OF-ROLE+(ROLE)
LIST-OF-ROLE-AND-SOURCE-AND-PATTERN-AND-ACTION-AND-ZERO-OR-ONE-OF-PARAMSSEQ(ROLE, SOURCE, PATTERN, ACTION, ?(PARAMS))
LIST-OF-ROLE-AND-DESTINATION-AND-ACTIONSEQ(ROLE, DESTINATION, ACTION)
TUPLE-OF-PNAME-AND-ONE-OR-MORE-OF-LOGICAL-OR-OF-RESOLUTION-AND-LINKAGESEQ(PNAME, +(OR(RESOLUTION, LINKAGE)))
INTERACTIONSEQ(*(EXPECT), *(INITIATE))
ZERO-OR-MORE-OF-PROTOCOL-DEFINITION*(PROTOCOL_DEFINITION)
TUPLE-OF-GOAL-AND-ACTUAL-PROCESSSEQ(GOAL, ACTUAL_PROCESS)
TUPLE-OF-ROLE-AND-ACTUAL-RECEPTORSEQ(ROLE, ACTUAL_RECEPTOR)
TUPLE-OF-USAGE-AND-ACTUAL-SYMBOLSEQ(USAGE, ACTUAL_SYMBOL)
TUPLE-OF-WEAL-AND-ACTUAL-PROTOCOLSEQ(WEAL, ACTUAL_PROTOCOL)
TUPLE-OF-ACTUAL-SYMBOL-AND-ACTUAL-VALUESEQ(ACTUAL_SYMBOL, ACTUAL_VALUE)
MAPPINGOR(WHICH_PROCESS, WHICH_RECEPTOR, WHICH_SYMBOL, WHICH_PROTOCOL, WHICH_VALUE) maps abstract semantic reference to concrete instantiation
PAIR-OF-GOALSEQ(GOAL, GOAL)
PAIR-OF-ROLESEQ(ROLE, ROLE)
PAIR-OF-USAGESEQ(USAGE, USAGE)
PAIR-OF-WEALSEQ(WEAL, WEAL)
LINKOR(WHICH_GOAL, WHICH_ROLE, WHICH_USAGE, WHICH_WEAL) links two abstract semantic references (role/goal/usage/weal).
ONE-OR-MORE-OF-RESOLUTION+(RESOLUTION)
LIST-OF-ZERO-OR-MORE-OF-ROLE-AND-ZERO-OR-MORE-OF-GOAL-AND-ZERO-OR-MORE-OF-USAGE-AND-ZERO-OR-MORE-OF-WEALSEQ(*(ROLE), *(GOAL), *(USAGE), *(WEAL))
LIST-OF-PROTOCOL-LABEL-AND-PROTOCOL-SEMANTICS-AND-ZERO-OR-MORE-OF-PROTOCOL-DEFAULTS-AND-ZERO-OR-MORE-OF-STRUCTURE-OF-INTERACTION-AND-ZERO-OR-MORE-OF-INCLUSIONSEQ(PROTOCOL_LABEL, PROTOCOL_SEMANTICS, *(PROTOCOL_DEFAULTS), *(%INTERACTION), *(INCLUSION))
ZERO-OR-MORE-OF-STRUCTURE-OF-SCAPE*(%SCAPE)
TUPLE-OF-MANIFEST-LABEL-AND-MANIFEST-SPECSEQ(MANIFEST_LABEL, MANIFEST_SPEC)
ONE-OR-MORE-OF-MANIFEST-PAIR+(MANIFEST_PAIR)
LIST-OF-MANIFEST-AND-RECEPTOR-IDENTIFIER-AND-DEFINITIONSSEQ(MANIFEST, RECEPTOR_IDENTIFIER, DEFINITIONS)
TUPLE-OF-MANIFEST-LABEL-AND-ANY-SYMBOLSEQ(MANIFEST_LABEL, !)
ONE-OR-MORE-OF-BINDING-PAIR+(BINDING_PAIR)
RECEPTOR_IDENTITYSEQ(RECEPTOR_LABEL, RECEPTOR_IDENTIFIER) placeholder structure for compository identifier
TUPLE-OF-RECEPTOR-LABEL-AND-DEFINITIONSSEQ(RECEPTOR_LABEL, DEFINITIONS)
ZERO-OR-MORE-OF-RECEPTOR-DEFINITION*(RECEPTOR_DEFINITION)
LIST-OF-FLUX-AND-PENDING-SIGNALS-AND-PENDING-RESPONSES-AND-CONVERSATIONS-AND-RECEPTOR-ELAPSED-TIMESEQ(FLUX, PENDING_SIGNALS, PENDING_RESPONSES, CONVERSATIONS, RECEPTOR_ELAPSED_TIME)
LIST-OF-INSTANCE-OF-AND-CONTEXT-NUM-AND-PARENT-CONTEXT-NUM-AND-RECEPTOR-STATESEQ(INSTANCE_OF, CONTEXT_NUM, PARENT_CONTEXT_NUM, RECEPTOR_STATE)
ZERO-OR-MORE-OF-RECEPTOR-XADDR*(RECEPTOR_XADDR)
LIST-OF-ACTIVE-RECEPTORSSEQ(ACTIVE_RECEPTORS)
DATESEQ(YEAR, MONTH, DAY)
TIMESEQ(HOUR, MINUTE, SECOND)
TIMESTAMPSEQ(TODAY, NOW)
LIST-OF-ANY-SYMBOLSEQ(!)
REDUCTION-ERRORSEQ(ERROR_LOCATION, ERROR_DATA)
LOGICAL-OR-OF-COUNT-AND-UNLIMITEDOR(COUNT, UNLIMITED)
TUPLE-OF-ZERO-OR-ONE-OF-TIMEOUT-AT-AND-ZERO-OR-ONE-OF-REPETITIONSSEQ(?(TIMEOUT_AT), ?(REPETITIONS))
STRUCTURE-OF-CSTRING%CSTRING
LOGICAL-OR-OF-PARAM-PATH-AND-PARAM-LABELOR(PARAM_PATH, PARAM_LABEL)
LOGICAL-OR-OF-RESULT-SYMBOL-AND-RESULT-VALUE-AND-RESULT-LABELOR(RESULT_SYMBOL, RESULT_VALUE, RESULT_LABEL)
TUPLE-OF-TRANSCODE-TO-AND-ZERO-OR-MORE-OF-ANY-SYMBOLSEQ(TRANSCODE_TO, *(!))
PAIR-OF-ANY-SYMBOLSEQ(!, !)
TUPLE-OF-ZERO-OR-MORE-OF-COND-PAIR-AND-COND-ELSESEQ(*(COND_PAIR), COND_ELSE)
STX-TOKEN-LIST*(OR(STX_SL, STX_OP, STX_CP, STX_SET, STX_OS, STX_CS, STX_LABEL, STX_OG, STX_CG, STX_EQ, STX_NEQ, STX_WALK, STX_*, STX_+, STX_Q, STX_OR, STX_COMMA, STX_EXCEPT, STX_NOT, STX_VAL_S, STX_VAL_C, STX_VAL_I, STX_VAL_F))
TREE_DELTASEQ(TREE_DELTA_PATH, TREE_DELTA_VALUE, TREE_DELTA_COUNT)
ZERO-OR-MORE-OF-SYMBOL-INSTANCES*(SYMBOL_INSTANCES)
TUPLE-OF-LAST-TOKEN-AND-ZERO-OR-MORE-OF-INSTANCE-TOKENSEQ(LAST_TOKEN, *(INSTANCE_TOKEN))
TUPLE-OF-INSTANCES-AND-ZERO-OR-ONE-OF-INSTANCE-TOKENSSEQ(INSTANCES, ?(INSTANCE_TOKENS))
ZERO-OR-MORE-OF-LOGICAL-OR-OF-P-OP-AND-P-CP-AND-P-COLON-AND-P-LABEL-AND-P-VAL-S-AND-P-VAL-C-AND-P-VAL-I-AND-P-VAL-F-AND-P-VAL-PATH*(OR(P_OP, P_CP, P_COLON, P_LABEL, P_VAL_S, P_VAL_C, P_VAL_I, P_VAL_F, P_VAL_PATH))
ZERO-OR-MORE-OF-LINE*(LINE)
COMMANDSEQ(VERB, *(COMMAND_PARAMETER))
ZERO-OR-MORE-OF-TEST-INT-SYMBOL*(TEST_INT_SYMBOL)
KEY-VALUE-PARAMSEQ(PARAM_KEY, PARAM_VALUE)
VERSIONSEQ(VERSION_MAJOR, VERSION_MINOR)
STATUSSEQ(STATUS_VALUE, STATUS_TEXT)
ZERO-OR-MORE-OF-HTTP-REQUEST-PATH-SEGMENT*(HTTP_REQUEST_PATH_SEGMENT)
FILE-HANDLESEQ(FILE_NAME, FILE_EXTENSION)
ZERO-OR-MORE-OF-HTTP-REQUEST-PATH-QUERY-PARAM*(HTTP_REQUEST_PATH_QUERY_PARAM)
ZERO-OR-MORE-OF-HTTP-REQUEST-PATH-QUERY-PARAMS*(HTTP_REQUEST_PATH_QUERY_PARAMS)
URISEQ(HTTP_REQUEST_PATH_SEGMENTS, HTTP_REQUEST_PATH_FILE, HTTP_REQUEST_PATH_QUERY)
MEDIA-TYPESEQ(MEDIA_TYPE_IDENT, MEDIA_SUBTYPE_IDENT, *(MEDIA_PARAM))
HEADERSEQ(HEADER_KEY, HEADER_VALUE) generic headers for now, should be more semantic
LIST-OF-ZERO-OR-MORE-OF-HEADERSEQ(*(HEADER))
LOGICAL-OR-OF-CONTENT-TYPE-AND-CONTENT-ENCODINGOR(CONTENT_TYPE, CONTENT_ENCODING)
LIST-OF-HTTP-REQUEST-VERSION-AND-HTTP-REQUEST-METHOD-AND-HTTP-REQUEST-PATHSEQ(HTTP_REQUEST_VERSION, HTTP_REQUEST_METHOD, HTTP_REQUEST_PATH)
LOGICAL-OR-OF-HTTP-REQUEST-HOST-AND-HTTP-REQUEST-USER-AGENTOR(HTTP_REQUEST_HOST, HTTP_REQUEST_USER_AGENT)
ZERO-OR-MORE-OF-LOGICAL-OR-OF-HTTP-REQUEST-HEADER-AND-HTTP-GENERAL-HEADER-AND-HTTP-ENTITY-HEADER*(OR(HTTP_REQUEST_HEADER, HTTP_GENERAL_HEADER, HTTP_ENTITY_HEADER))
LIST-OF-HTTP-REQUEST-LINE-AND-HTTP-REQUEST-HEADERS-AND-HTTP-REQUEST-BODYSEQ(HTTP_REQUEST_LINE, HTTP_REQUEST_HEADERS, HTTP_REQUEST_BODY)
LOGICAL-OR-OF-HTTP-GENERAL-HEADER-AND-HTTP-RESPONSE-HEADER-AND-HTTP-ENTITY-HEADEROR(HTTP_GENERAL_HEADER, HTTP_RESPONSE_HEADER, HTTP_ENTITY_HEADER)
ZERO-OR-MORE-OF-HTTP-HEADER*(HTTP_HEADER)
LIST-OF-HTTP-RESPONSE-STATUS-AND-HTTP-HEADERS-AND-HTTP-RESPONSE-BODYSEQ(HTTP_RESPONSE_STATUS, HTTP_HEADERS, HTTP_RESPONSE_BODY)
ZERO-OR-MORE-OF-HTML-ATTRIBUTE*(HTML_ATTRIBUTE)
HTML-ELEMENTSEQ(HTML_ATTRIBUTES, HTML_CONTENT)