compactp_diagnostics 0.1.0-beta.1

Structured diagnostics (severities, codes, labeled spans) for the compactp Compact parser frontend.
Documentation

compactp_diagnostics

Structured diagnostics for the compactp parser frontend for the Compact language (Midnight Network).

Defines Diagnostic, Severity, DiagnosticCode, and LabeledSpan — the types every parser-side error or warning flows through, and that every downstream consumer (CLI, library users, IDEs) reads. Serializable to the JSON envelope used by the compactp CLI.

Status

Beta (0.x). APIs may change between minor versions. See the compatibility matrix.

License

MIT