Structured CLI diagnostics
Implemented Compiler diagnostics retain severity, stable code, source snapshot/span, notes, help, and related locations, then render readable source excerpts with precise markers.
VOID Tooling
voidc is the source of truth for both builds and editor features. The language server asks the compiler for types, symbols, calls, and diagnostics, so unsaved editor state is analyzed with the same rules as real source.
Tooling block complete
voidc.The language server does not duplicate parsing, type checking, overload resolution, access rules, or project discovery. It asks the compiler the same questions normal compilation already knows how to answer.
Implemented Compiler diagnostics retain severity, stable code, source snapshot/span, notes, help, and related locations, then render readable source excerpts with precise markers.
voidc checkImplemented Full front-end validation without C generation, native compilation, or build outputs.
Implemented Persistent analyzed projects answer symbol, type, definition, member, callable, completion, reference, and symbol queries.
Implemented Generated C #line mappings let native debug information point back to original .void files and lines.
voidc lsp lifecycle & documentsImplemented Framed JSON-RPC, initialize/shutdown lifecycle, full-document synchronization, versioned in-memory text, project discovery, and UTF-16/LSP position conversion.
Implemented Lexer, parser, and semantic diagnostics publish directly from unsaved buffers and clear as source is fixed or closed. Full transport of every rich CLI note/help/related-location context through LSP remains a later step.
Implemented --diagnostics=json emits structured stderr records from the same compiler diagnostics used for terminal text, including codes, severity, spans, notes, help, related locations, and truncation state.
Implemented Compiler bindings provide typed hover labels, overload sets, constructors, delegates, optional/params signatures, named-argument mapping, and active-parameter selection.
Implemented Instance/static/inherited members, accessibility filtering, enums, locals, parameters, project types, namespaces, and LSP completion kinds come from real semantic state.
Implemented Cross-file definition lookup, declaration-identity references, document symbols, and workspace symbol filtering use compiler-owned declarations and bindings.
Implemented All open files in a project are analyzed as one in-memory snapshot. Dependent diagnostics refresh across unsaved edits, temporarily broken source does not poison later requests, and closing a file falls back to disk.
./bin/voidc lsp
// Compiler-backed features:
publishDiagnostics
hover
signatureHelp
completion
definition
references
documentSymbol
workspace/symbolWhy this matters
Terminal rendering, JSON diagnostics, source-only checking, and editor features all begin with compiler-owned source and semantic information. An editor extension can remain a thin client around voidc lsp, while command-line tools can consume structured JSON without reverse-engineering human-readable messages.