Expand description
Registry trait, types, and resolution logic for external repository references.
A Registry maps repository identifiers to Lemma source text (for resolution) and to human-facing addresses (for editor navigation).
The engine calls resolve_registry_references during the resolution step
(after parsing local files, before planning) to fetch external specs.
The Language Server calls url_for_id to produce clickable links.
Input to all methods is the full repository name as it appears in source
(e.g. "@org/project" including the @ prefix).
Structs§
- Lemma
Base - The LemmaBase registry fetches Lemma source text from LemmaBase.
- Registry
Bundle - A bundle of Lemma source text returned by the Registry.
- Registry
Error - An error returned by a Registry implementation.
Enums§
- Registry
Error Kind - The kind of failure that occurred during a Registry operation.
Traits§
- Registry
- Trait for resolving external repository references.
Functions§
- resolve_
registry_ references - Resolve every
uses <repository> <spec>ordata x: y from <repository> <spec>reference in the loaded specs.