dmc-core 0.3.6

Engine, CLI, watch mode, and collection builds for the dmc MDX compiler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! User-facing walkthrough: ../../dmc-docs/dmc-core/
//! Run `cargo doc --open -p dmc-core` for the inline rustdoc.
#![allow(clippy::result_large_err)]

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

pub mod cli;
pub mod engine;
pub mod loaders;

pub use dmc_parser::{ast, parse};
pub use dmc_transform::{MermaidOptions, MermaidThemeMode, PrettyCodeOptions, PrettyCodeTheme};
pub use engine::Engine;