Native VBS and CMake builds of the server and every registered suite: protocol and document sync, VBS/compdb providers, stock GCC diagnostics (including in-process default profile preparation), the stock occurrence observer and hover/definition, the bounded Scheduler, C++ module graph, scan and artifact cache with real CMI production, the context-aware symbol index with schema-2 snapshot migration, navigation and guarded rename, reflection provenance with splice-origin extraction, index-backed completion and signature help, live GCC worker control with a registered DAP suite, and the Neovim and VS Code clients. VoidLibrary follows main. The private GCC 16.2.0 frontend is reproduced from the versioned patches and verified stepping reflection/template code with projected values 17/34 and 41/82.
3.5 KiB
08 — Semantic frontend feasibility, toolchain and license gate
Status: The pinned Clang frontend fails the required GCC/libstdc++ fidelity gate. The GCC 16.2 reference corpus passed. Per D-028, GCC's suitability as an IDE and debugger backend is under evaluation. Requirements: R-010,R-012,R-013,R-016,R-026 Dependencies: Corpus definition from24 and actual build contexts from05/07 or equivalent captured fixtures; initial shell is independent.
Ownership and boundaries
Proposed Astra compiler experiment; researcher verifies primary-source/version evidence; root owns candidate pins/decision. NEW experiments/frontend/ and tests/corpus/frontend/, no silent sibling/compiler edits. Future assignments must verify the then-current baseline and exact disjoint paths; these proposed scopes do not authorize work in another repository.
Contracts and data flow
Candidate Clang/P2996 revision562409c7942690d59ea470762515f88f24b16e23; GCC16.2 is the reference. Match actual GCC/libstdc++ source/flags, not just reflection examples using substituted libc++. Gate1 covers parsing, invalid-edit recovery and core IDE queries; Gate2 in17 separately covers debug feasibility.
Implementation sequence
- Capture reproducible representative VoidLibrary/VBS contexts and standalone fixtures for reflection, constexpr-range expansion, templates, modules and standard-library use. Record toolchain/header identities.
- Build the exact candidate in an isolated explicit experiment directory under a scoped future task. Record LLVM/libstdc++/libc++ requirements and cost; do not add it to the bootstrap build.
- Run the real enum helper and wider corpus without hiding unsupported features, swapping the standard library silently or editing project code to obtain a pass. Compare semantic expectations against GCC.
- Exercise broken ^^/splices/templates, unsaved imports, completion/hover/navigation/references and editable origins. Report feature/version matrix, latency/memory, maintenance burden and dependency license facts.
Failure behavior and constraints
The pinned documentation and the pinned libc++ enum-to-string test give conflicting indications on constexpr-range expansion. Run the real Void headers against GCC's standard library to decide fidelity. Missing required semantics rejects this sole-engine candidate. Compiler repairs, GCC integration or mixed backends require a new explicit decision and task scope.
Acceptance scenarios
- Compile/analyze exact source fixtures with reference GCC and candidate, retaining diagnostic/AST/query evidence and unsupported-feature classification.
- Verify meaningful IDE queries and recovery on malformed edits rather than equate successful compilation with tooling readiness.
- Reproduce crashes/resource limits; document untested proposals and reject silent semantic/library substitutions.
Verification and integration
Proposed NEW CTest label: frontend-gate. Once implemented, register a nonzero suite and run:
dev cpp-gcc -c ctest --test-dir build/bootstrap -L frontend-gate --output-on-failure
This future command is not evidence that the label/tests exist now. Before dispatch, bind the fixtures above to actual targets and record prerequisites/side effects. Require fresh independent review of the implemented contract and affected integrations. No production frontend pin changes until gate review. Keep candidate artifacts/provenance for diagnosis without linking them into the shell; retain backend-neutral interfaces and an explicit failed-gate decision.