Repository navigation
test(WO80/A4): rulings batch 4 — funcall, item algebra, boundary, tests - #822
Merged
Merged
Conversation
…edded tests Empirically pinned against the interpreter, normative as IS-1 v2 sections: - run <stdlib-name> dispatches Stdlib::Functions; run takes NO kwargs (kwargs belong to declared funcall directives — rababa); parse error otherwise - stage-level case directives execute at their rule position on the whole string (downcase-then-sub ordering pinned) - item algebra: any(<chars>) set, any(lo..hi) inclusive range, capture+ref source substitution - boundary is a zero-width word edge (string edges match, mid-word never) - embedded tests are normative data — never executed by transliterate; the verification layer runs them - HAZARD pinned: stray identifiers (incl. unknown run targets) are consumed as parse no-ops — a typo'd map is silently wrong. Ruled tolerable for the legacy corpus; stricter parsing is an IS-1 v2 follow-up gated on a clean 293-map parse across all three compilers
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.
Eight new normative vectors completing the A4 inventory's empirical sweep (points 4, 5, 7, 9, 10 — joining batches 1–3's points 1, 2, 3, 6 + the run-dispatch ruling).
Every vector was probed against the interpreter before being pinned — including two genuine findings:
runaccepts no kwargs (parse error), and stray identifiers are silently consumed at parse time (run nosuchfunctionyields an empty stage — a typo'd map is silently wrong). The hazard is pinned as a ruling with a commented follow-up rather than a behavior change: the stricter parse is gated on a clean parse of the full corpus across all three compilers, which is exactly the IS-1 v2 opening item.