Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Diagnostics parity (CLI and LSP) - Flow and algorithm

Platform spec article

Diagnostics parity (CLI and LSP) - Flow and algorithm

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki
  1. CLI parse path converts parser errors using file-path source labels.
  2. Lowering path parses and can emit diagnostics with "<memory>" labels.
  3. Lowering runs semantic rules when diagnostics are enabled and aborts on errors.
  4. LSP cold path parses, maps parse errors, then runs semantic rules.
  5. LSP warm path reuses analyzed snapshots and reruns rule checks without reparsing.