Repository navigation
bridge-the-impl-gap item 1: conformance inventory, open-fixtures lane, spec-examples lane - #2985
Merged
Merged
Conversation
…res lane, the spec-examples lane docs/spec/conformance.tsv: one row per ruling and testable section (D-number or §, claim, state, fixture, issue), seeded from the plan's tables. :spec-inventory-check refuses a row that says implemented with no fixture, one that says open or regressed with no issue, a D-row the decision log does not have, and a ruling from D181 on with no row. test/conformance/open.txt lists the fixtures of rulings not implemented yet (nine, one per open row); the conformance-open lane (in :test) runs each expecting failure and reports one that passes, so a ruling that lands flips its row instead of going unrecorded. tools/spec_examples.w compiles every fenced example of the normative chapters and docs/spec/stdlib with the release compiler; the spec-examples lane (in :test) refuses an example that does not compile unless test/conformance/spec-examples-open.txt lists it, and a listed one that starts compiling. Seeded today: 604 blocks, 501 listed (most are fragments; the rest are #2955's defects and open rulings), a `// fragment` or `// not With` first line opts a block out.
ehartford
force-pushed
the
impl-gap-mechanism
branch
from
November 2, 2026 19:37
ca84273 to
465752e
Compare
Contributor
Author
|
Battery green on 465752e (gate, uat, battery-checks); |
ehartford
marked this pull request as ready for review
November 2, 2026 19:48
ehartford
added a commit
that referenced
this pull request
Nov 2, 2026
…02) (#2986) Removes the spec-examples lane added in #2985 (tools/spec_examples.w, the `spec-examples` target under `tests`, test/conformance/ spec-examples-open.txt): a target with docs/spec as an input made every spec edit a build. The spec's examples are maintained by hand. The conformance inventory moves out of docs/spec to test/conformance/conformance.tsv, so nothing under the spec directory is a build input; :spec-inventory-check and conformance-open read it there. Co-authored-by: Eric Hartford <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Item 1 of docs/proposals/bridge-the-impl-gap.md (#2982).
docs/spec/conformance.tsvis checked by:spec-inventory-check(implemented needs a fixture; open/regressed needs an issue; every D≥181 has a row; a D-row must exist in the decision log).conformance-openruns the nine fixtures of unimplemented rulings expecting failure.spec-examplescompiles the normative chapters' and stdlib's fenced examples: 604 blocks, 501 seeded intotest/conformance/spec-examples-open.txtwith their first diagnostic (most are fragments; a// fragmentfirst line opts a block out, which needs Eric's word on the spec text). Verified: a bad row is refused; the open lane reports 9 still failing; the example lane reports 0 unexpected. Battery to follow.