Skip to main content

Module dialect

Module dialect 

Source
Expand description

What every generated dialect has in common, and how one is chosen.

Generation is the same pipeline four times over — route shapes in, a document out, a compatibility diff against the merge-base — so the CLI holds a SpecKind and never a match over dialects. Adding a fifth means writing an emitter and a diff, not touching the command.

Structs§

Document
A rendered document plus anything that had to be reconciled to build it.
Info
Document metadata that no amount of code reading can derive.
Operation
One operation to emit, pairing spec identity with the inferred shape.