Skip to main content
Generated from rustdoc JSON at dspy-rs v0.7.3 (commit b5da857). Do not edit by hand; regenerate with python3 docs/scripts/gen_api.py (see the script header for the rustdoc commands). Item links lead to full signatures and method docs on docs.rs.
The intermediate representation (RFC 0002).

Re-exports

Modules

ir::sig

Value-level signatures (RFC 0002 §1) — SignatureDef and friends.

Structs

Enums

ir::bridge

The fx/ModuleState ↔ Overlay bridge (RFC 0002 §2.4 migration contract).

Functions

ir::builder

The Rust builder frontend (RFC 0002 §4.3–4.4): constructs the same runtime Program value the text parser will.

Structs

Enums

Traits

Functions

ir::graph

The IR graph core (RFC 0002 §2): entity ids, the Interner, the closed Node enum, field-level Binding/PortRef dataflow, and Program — arenas over value-level signatures.

Structs

Enums

ir::interp

The IR interpreter (RFC 0002 §3): async evaluation of a loaded Program.

Structs

Enums

Functions

Type aliases

ir::module_build

RFC 0003 stage M-3 library support: the module “linker”.

Structs

Enums

Functions

ir::params

Parameters (RFC 0002 §2.4): every mutable thing is a named, addressable slot; a candidate is an Overlay read through at render time, never a mutation.

Structs

Enums

Traits

Functions

ir::step

RFC 0003 stage M-2: step metadata.

Structs

Enums

ir::text

The .dsrs text format (RFC 0002 §4, stage IR-5).

Structs

Enums

ir::validate

Load-time validation (RFC 0002 §2.3): builder finish(), the loader, and Program::validate() run the same code path. Nothing is checked lazily at call time.

Enums