Expand description
Raw Workshop locale conversion: parse -> canonical semantics -> emit.
convert parses raw Workshop text in a source locale into
locale-independent WIR, then emits it in a target locale. Canonical
identities are locale-independent; only the spellings change. Missing
target-locale mappings fail explicitly by default (an error, never a
guess and never a silent passthrough of another locale’s spelling);
fallback is opt-in via ConvertOptions and recorded in
Conversion::fallback_ids.
Structs§
- Conversion
- The result of a raw Workshop locale conversion.
- Convert
Options - Conversion options: opt-in fallback for missing target-locale mappings.
Functions§
- convert
- Convert raw Workshop text from
fromtoto, parsing with the catalog as the canonical signature context (expected enum domains resolve ambiguous bare members that the catalog documents). - convert_
with_ context - The context-aware form of
convert:contextsupplies the expected enum domains for argument positions the catalog does not document (e.g. a provider manifest chained with the catalog viacrate::signatures::ChainedExpectedDomain).