compactp_diagnostics 0.1.0-beta.1

Structured diagnostics (severities, codes, labeled spans) for the compactp Compact parser frontend.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# compactp_diagnostics

Structured diagnostics for the [`compactp`](https://github.com/devrelaicom/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](https://github.com/devrelaicom/compactp#compact-compatibility).

## License

MIT