Repository navigation
det SORT/MERGE/RELEASE/RETURN: pin the parse of the whole accepted and refused phrase class (Part of #4268) - #7236
Conversation
…d refused phrase class (Part of #4268) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #7236 @ 7d1e3c6: 2 failed check(s) == full-suite (failure) -- real == full-suite part 1/2 (failure) -- real |
…eads) (Part of #4268) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
Summary
SORT (USING/GIVING, INPUT/OUTPUT PROCEDURE), MERGE, RELEASE and RETURN are already parsed (
det/stmt.py_sort_merge,_release,_return) and translated (cobolrt/Sort.java) on main; the issue's "no parser" evidence is stale. This PR addstests/cobol_mainframe/test_sort_verbs_parsed_4268.py, which pins the parse of the whole class: every accepted phrase combination (SORT/MERGE x USING/GIVING/PROCEDURE/mixed, THRU, KEY/DUPLICATES/COLLATING, format-2 table SORT, RELEASE FROM, RETURN INTO with AT END / NOT AT END), the named-hole refusals for malformed statements, and a guard that no burned program uses these verbs.Checklist: done [c:336a82a2]
Facts checked
test_det_programs.py(INPUT/OUTPUT PROCEDURE, USING/GIVING, MERGE USING/GIVING and USING/OUTPUT PROCEDURE) andtest_cobol_sort_vectors.py..mainframe_corpora: comments and CICS RETURN only), so the SORT equivalence case is not a burned-estate item.pytestfrom an unrelated cwd too);audit_check.pyall clear. Test-only: no golden bless.Class sweep / Sibling gaps
Class: SORT-family statement parsing. All siblings covered above. Remaining checklist items are other criteria: running utility steps in a job (c:ac8b71e6), multi-step job case (c:5944f8ad), register F4 text (c:9e003ccd). No burned program needs any of them for SORT verbs.
Cross-repo: none.
🤖 Generated with Claude Code