dmc-diagnostic 0.1.0

Shared diagnostic codes and source metadata for the dmc MDX compiler
Documentation

Unified diagnostic codes for the dmc pipeline.

Every layer (lexer, parser, transform, codegen) emits into one shared DiagnosticEngine<Code>. Per-layer variants are gated behind cargo features so a crate that only needs lexer codes can opt out of the rest.

Feature flags

  • lexer - E*** lexer-emitted variants
  • parser - P*** / PW*** parser-emitted variants
  • transform - T*** / TW*** transform-emitted variants
  • codegen - G*** / GW*** codegen-emitted variants

A normal full build (e.g. via dmc-core) enables all features.