Expand description
Resolving a platform name to the dialect that renders it.
Every service crate (CLI, API, MCP, AI, pipeline) calls
resolve_dialect_by_name instead of matching on names itself.
The accepted spellings are not written down here. Each dialect declares its
own name and the aliases it answers to (DialectInfo::aliases), and this
module reads them off whatever dialects are loaded — so a platform that
arrives as a plugin, whether linked in or loaded from a shared library at
run time, brings its spellings with it and needs no change to Razeri.
Enums§
- Resolve
Error - Error returned when a platform name cannot be resolved to one dialect.
Functions§
- accepted_
names - Every spelling the loaded dialects answer to, sorted.
- all_
accepted_ names - Every spelling the dialects linked into this program answer to, sorted.
- resolve_
dialect_ by_ name - Resolve a platform name to the dialect that renders it.
- resolve_
dialect_ by_ name_ with_ registry - Resolve using an explicit registry — the path a host takes when it has built its own, including one holding dialects loaded at run time.