vox-grammar-export API Reference (generated)
vox-grammar-export
Section titled “vox-grammar-export”Crate: vox-grammar-export · Version: 0.6.0 · Target: Library (lib.rs)
Exports the Vox grammar artifact for downstream tooling.
Crate Overview
Section titled “Crate Overview”Grammar export schema + manifest types (TextMate, tree-sitter, EBNF targets).
Workspace Dependencies
Section titled “Workspace Dependencies”| Dependency | Kind |
|---|---|
vox-language-surface | Normal |
Public API Surface
Section titled “Public API Surface”Modules
Section titled “Modules”| Module | Description |
|---|---|
compact_prompt | — |
ebnf | — |
gbnf | — |
grammar_ir | — |
json_schema | — |
lark | — |
ssot_markdown | — |
versioning | — |
x_grammar_2 | — |
Structs
Section titled “Structs”| Struct | Description |
|---|---|
GrammarExportConfig | Configuration for a grammar export run. |
GrammarExportResult | Result of a grammar export operation. |
| Enum | Description |
|---|---|
GrammarFormat | Supported grammar export formats. |
Functions
Section titled “Functions”| Function | Description |
|---|---|
as_str | Human-readable lowercase format name. |
export | Dispatch grammar export to the appropriate emitter based on config.format. |
grammar_version_matches_compiler | Check that the grammar crate version matches the compiler crate version. |