Skip to main content

Crate gantz_core

Crate gantz_core 

Source

Re-exports§

pub use builtin::Builtin;
pub use builtin::Builtins;
pub use diagnostic::Diagnostic;
pub use node::Node;
pub use steel;

Modules§

args
The %args map: per-evaluation inputs the entrypoint caller provides to the VM, readable by any node’s expr via the ARGS global.
builtin
Builtin nodes as plain data: composable specs and the composed palette.
compile
Items related to generating steel code from a gantz graph, primarily the module fn.
data
The codec between typed nodes and the registry’s erased NodeData/DataGraph representation, plus the reified-graph cache.
datum
A self-describing serde value: the bridge between node types and any self-describing representation of them.
diagnostic
Structured diagnostics extracted from compile and runtime errors, for frontends to surface against the graph (e.g. highlighting the offending node) and the emitted module source (e.g. highlighting the error span).
edge
A simple Edge type describing the outlet and inlet of source and destination nodes respectively.
graph
Provides visit() and register() fns for generic gantz graphs.
node
The primary Node abstraction and related items.
visit
Items related to traversing nested graphs of gantz nodes.
vm
Shared VM utilities for initializing and compiling gantz graphs.

Structs§

Edge
Describes a connection between two nodes.

Constants§

ARGS
The ident used to represent the entrypoint args map - a read-only set of per-evaluation inputs (e.g. the firing time) the caller sets before invoking an entry fn, readable by any node’s expr.
ROOT_STATE
The ident used to represent the root state. This is the state of the top-level graph.