Skip to main content

Crate bock_vocab

Crate bock_vocab 

Source
Expand description

Bock vocabulary emitter.

Produces a single JSON document describing the language surface area — keywords, operators, annotations, stdlib methods, diagnostic codes, target names, CLI commands — for downstream tooling (editor extensions, documentation sites). The contents are not hardcoded here: every section is produced by querying the source-of-truth registry in the relevant crate, so the extension’s vocabulary stays in sync with the compiler.

Re-exports§

pub use schema::Vocab;

Modules§

schema
Serde types for the vocabulary JSON schema.

Constants§

COMPILER_VERSION
Compiler version string matching the workspace Cargo.toml.

Functions§

build_vocab
Build the complete vocabulary by querying each source crate’s registry.