Args are the children nodes to the current node.
Flags store metadata/primitive data in an Iridium node. These nodes cannot store other Iridium S-Expressions.
Tag specifics the S-Expression Type.
This function returns the binding for a given lookup. If the binding cannot be found, it returns a null.
Identifier to lookup
Current lookup scope
EnvBindingSEXP | RemoteEnvBindingSEXP | null
Returns true if a binding of the specific shape already exists in the Bindings object.
Binding IDX
Name of the binding
binding kind
declared scope
parent scope
Given a RemoteEnvBindingSEXP it returns the effective resultant EnvBindingSEXP.
Name of the binding
EnvBindingSEXP
This method is used to squish the Iridium Code into an array which can be easily stored on disk.
Nested Array of Iridium S-Expressions.
Optional
space: number
Remarks
This object stores the bindings used in a logical stack frame. The bindings may be local to the frame or may reference remote objects. This also stores the references made to closure objects in the LambdaPool.
Structure
ARG(localBindings)
: A ListSEXP object containing local bindings EnvBindingSEXP.ARG(remoteBindings)
: A ListSEXP object containing remote bindings RemoteEnvBindingSEXP.ARG(lambdas)
: A ListSEXP object containing pool bindings PoolBindingSEXP (used to store lambdas in Iridium).FLAG(ParentScope)
: IDX of parent closure scope.