Skip to main content

Module compiler

Module compiler 

Source
Expand description

Graph → ExecutionPlan compiler.

Compilation phases: topological sort → parallelism detection → cache resolution → schema validation → distribution wrapping → simplification.

Structs§

CompileResult
Compiled result: the plan plus any diagnostics.
Compiler
Compiles a Graph into an ExecutionPlan.
Diagnostic
Diagnostic message emitted during compilation.
SimpleNodeRegistry
Simple in-memory node registry for compilation.

Enums§

CompileMode
Compilation mode affects caching behavior.
DiagnosticLevel
Severity of a Diagnostic. Nothing here fails compilation — a condition worth stopping for is returned as an error, not collected.

Traits§

NodeRegistry
Registry that maps node IDs to their metadata.

Functions§

compile
Convenience function: compile a graph with default settings.
compile_stream
Compile a graph for streaming execution.