Skip to main content

Module resolve

Module resolve 

Source
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§

ResolveError
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).