Repository navigation
det: JSON PARSE fills OCCURS DEPENDING ON tables and COMP-1 items (Part of #7524) - #7966
Merged
Merged
Conversation
…7524) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…rt of #7524) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
3 tasks done
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
CI shepherd: the head of this PR (5cfbf24) is not the one a maintainer labelled |
Contributor
|
No description provided. |
Contributor
|
No description provided. |
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.
JSON PARSE now fills OCCURS DEPENDING ON tables and COMP-1 items (register X77, oracle-unbacked, ASSUMED). IBM states that PARSE never updates an ODO object and lists internal floats as valid receivers, but gives no occurrence count, rounding or exponent rule, so the model reads the ODO object's current value at run time and converts a COMP-1 through the runtime's
Cobol.store. Everything else IBM leaves unstated stays a Hole or a refusal.Checklist: partial [c:3fc8b69b] -- CONVERTING, COMP-2 and elementary receivers, JSON-STATUS after an exception are left
Checklist: partial [c:afa8a8d3] -- the census re-survey is recorded in X77 (#7953); the count is not posted on #7709 by this PR
Cross-repo
No companion PRs in other repos. Same-repo: this branch contains the head of #7952 (fixed OCCURS tables, same files); #7952 should merge first, then merge main here and the PR shrinks to its own diff. Nothing re-runs after merge (no burned program uses JSON).
Class / Sibling gaps
Class: JSON PARSE receiver kinds that JSON GENERATE already models and PARSE refused by name: OCCURS DEPENDING ON tables (elementary and group elements) and COMP-1 floats. Members handled here, each with a translation test and a runtime test on bytes: ODO elementary table, ODO group table, COMP-1 item, COMP-1 table element, exponent number into a float, exponent into a fixed item (Hole).
Sibling gaps:
nullskip, CONVERTING, elementary receiver, JSON-STATUS after an exception: different mechanisms, later slices of det: JSON GENERATE / JSON PARSE not modelled (census #7709, 2 programs) #7524.Remaining slices: PARSE CONVERTING; array-length mismatch with JSON-STATUS; null handling and JSON-STATUS bits 4-512.
Gates: pr_gates --fast 9/9 after fixing one catalogue finding (JsonParse.floating added to cobolrt_rules.json plumbing; the 6th hand-written file, forced by test_cobolrt_rules); pr_gates --ratchets 9/9; det_port check 270/270 ports unchanged; audit_check all clear; test_det_json_parse + test_det_json_generate 77 pass.
🤖 Generated with Claude Code