Expand description
Canonical dialect resolver with alias support and near-miss suggestions.
All service crates (CLI, API, MCP, AI, pipeline) should call
resolve_dialect_by_name instead of maintaining their own match blocks.
Enums§
- Resolve
Error - Error returned when a dialect name cannot be resolved.
Functions§
- alias_
spellings - The accepted spellings, as
(spelling, canonical name)pairs. - all_
accepted_ names - List all names accepted by the resolver (alias table + registered names).
- all_
aliases - All known aliases (for documentation and help messages).
- resolve_
dialect_ by_ name - Resolve a dialect by user-facing name string.
- resolve_
dialect_ by_ name_ with_ registry - Resolve using an explicit registry (useful for testing and composition root).