Skip to main content

Crate dmc

Crate dmc 

Source
Expand description

Orchestrator: lex -> parse -> transform -> codegen pipeline plus a multi-file engine that processes whole collections per a velite-style config. See [Compiler::compile] for single-source use; Engine::run for batch builds.

Re-exports§

pub use engine::Engine;

Modules§

ast
cli
engine
loaders
Per-extension loaders: bytes -> Loaded { data, content } for schema validation. MatterLoader runs the full mdx compile; YamlLoader / JsonLoader parse data files directly.

Functions§

parse
Lex + parse source in one shot, dropping all diagnostics. Convenience for tests + the parse bin; production callers should construct their own DiagnosticEngine.