Expand description
Registry trait, types, and resolution logic for external @... references.
A Registry maps @-prefixed identifiers to Lemma source text (for resolution)
and to human-facing addresses (for editor navigation).
The engine calls resolve_spec and resolve_type 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 identifier without the leading @
(for example "user/workspace/somespec" for spec @user/workspace/somespec).
Structs§
- Lemma
Base - The LemmaBase registry fetches Lemma source text from LemmaBase.com.
- 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
@...references.
Functions§
- resolve_
registry_ references - Resolve all external
@...references in the given spec set.