Expand description
Binding registry — maps contract equations to implementations.
A BindingRegistry connects kernel contract equations (defined in
YAML) to the actual Rust functions that implement them in a target
crate (e.g. aprender). This enables:
- Audit:
pv audit --bindingreports which obligations have implementations and which are gaps. - Wired tests:
pv probar --bindinggenerates property tests that call real functions instead ofunimplemented!().
Structs§
- Binding
Registry - Top-level binding registry parsed from YAML.
- Kernel
Binding - A single binding: one contract equation mapped to one implementation.
Enums§
- Impl
Status - Implementation status of a binding.
Functions§
- normalize_
contract_ id - Normalize a contract identifier by stripping
.yaml/.ymlextension. - parse_
binding - Parse a binding registry YAML file.
- parse_
binding_ str - Parse a binding registry from a YAML string.