Repository navigation
det: SEARCH / SEARCH ALL, OS/VS alphabets, LABEL RECORD ARE, EXHIBIT NAMED; missing period refused by name (#4462) - #4554
Merged
Conversation
…NAMED; a missing period refused by name (#4462) - OCCURS keeps its ASCENDING / DESCENDING KEYs and INDEXED BY names; each index name is an item holding the occurrence number. SEARCH opens a frame for AT END and its WHENs (SEARCH ALL: one), closed by END-SEARCH or the period. Serial SEARCH walks from the index; SEARCH ALL is GnuCOBOL's binary search, its WHEN restricted to key = value / key condition-names for the leading keys, AND-joined (else a hole by name). SEARCH VARYING a counter is refused by name (IBM steps it, GnuCOBOL sets it). Proven against GnuCOBOL (test_det_programs SRCHALL). - An alphabet clause without ALPHABET (DSF PLUKKFR / PLUKKFRN) gets the keyword for the grammar and program.alphabets; LABEL RECORD ARE / RECORDS IS read (FO04D1X1). - EXHIBIT NAMED translates as one DISPLAY line `NAME = value` (GnuCOBOL-proven); qualified / subscripted names and EXHIBIT CHANGED are holes by name (R001BYDL). - A data entry with no period before the next level number is refused as a source defect (GenApp polloo2.cpy). - Ledger: translator-refuses-grammar is empty and gone; polloo2 -> translator-refuses-source-defect (definitional); the newly read programs' disagreements are engine-drops-self-transfer / numeric-value-spelling. Part of #4462 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01W3KVtYHQp8KsfKcHsdiPbR
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01W3KVtYHQp8KsfKcHsdiPbR
Closed
2 tasks
Contributor
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.
Part of #4462 (slice 3): the remaining
translator-refuses-grammarledger entries (6) are read or refused by name; the cause is now empty and gone from the ledger.What changed (det translator)
key = valueor a key's condition-name, for the leading keys, subscripted by the first index and joined by AND. Anything else becomes a hole, refused by name.source.alphabet_keywordsadds the keyword for the grammar and forprogram.alphabets. That is the parsed alphabet model det translator: PROGRAM COLLATING SEQUENCE ignored in alphanumeric relation conditions (silent) #4539 reads; its logic is untouched here.source.label_records).NAME = valuewith literals shown as their value. Qualified or subscripted names and EXHIBIT CHANGED (which GnuCOBOL does not implement) are refused by name.translator-refuses-source-defect(definitional).Evidence
test_det_programsSRCHALL (16 SEARCH ALL probes plus serial SEARCH) and EXHIBIT.test_det_source_4462.py.test_det_*andtest_fact_crosscheckwith EQUIVALENCE_E2E=1: 359 passed, none skipped.engine-drops-self-transfer), and FO04D1X1 has VALUE 001 vs 1 (numeric-value-spelling). The ledger was updated withupdateandassign.pr_gates --ratchets): all 6 pass. Det sweep (--det-only --skip-db2): "as expected".pr_gates: all gates pass. Golden first failed on bootstrap.rtl.css under load (not det code), and passed on rerun.Remaining refusals in #4462 that are policy refusals by name: national/DBCS text and DECIMAL-POINT IS COMMA (
translator-refuses-national-text, tracked in #4462/#4272), IDMS (#4532), PAYMAIN's COPY collision (#4486), and polloo2's source defect (here). This PR therefore leaves #4462 open.🤖 Generated with Claude Code
https://claude.ai/code/session_01W3KVtYHQp8KsfKcHsdiPbR