Advertise folding and selection only when the frontend supports them. Folding uses recovered spans for the listed declarations, their bodies, parameter lists, and Doc text blocks. A brace, parenthesis, or text block the tree does not cover still folds, including an unmatched opener through the end of the text. Selection grows outward from the identifier to the argument or parameter list, the block, and the declaration.
General Specs
This directory contains shared acceptance specifications for all supported languages in Prometeu.
Scope
These specs are above language-specific specs and should be reused by each language line.
Typical topics:
- conformance gates and evidence,
- compatibility publication policy,
- verification/safety acceptance boundaries,
- artifact/runtime acceptance contracts.
Current backend-facing chapter additions:
20. IRBackend to IRVM Lowering Specification.md21. IRVM Optimization Pipeline Specification.md22. Backend Spec-to-Test Conformance Matrix.md23. Compiler Pipeline Entry Points Specification.md
Rule
Language-specific specs (for example docs/pbs/specs) must reference this layer instead of duplicating cross-language acceptance policy.