Tracker
Roadmap search
Versions, deliverables, workstreams, tasks, and pages
Diagnostics parity (CLI and LSP) - Flow and algorithm
articleStandard
src/content/docs/platform-spec/compiler/build-pipeline/diagnostics-parity/flow-and-algorithm.mdx
import SpecArticleChrome from '@beskid/beskid-ui/platform-spec/SpecArticleChrome.astro';
<SpecArticleChrome />- CLI parse path converts parser errors using file-path source labels.
- Lowering path parses and can emit diagnostics with
"<memory>"labels. - Lowering runs semantic rules when diagnostics are enabled and aborts on errors.
- LSP cold path parses, maps parse errors, then runs semantic rules.
- LSP warm path reuses analyzed snapshots and reruns rule checks without reparsing.