Repository navigation
PL/I data moves: the ! (OR) and !! operators no longer end the source list (#9213) - #9221
Merged
Merged
Conversation
… list (#9213) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
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.
Closes #9213
What
core/pli_data_moves.pytokenized|and||but not their alternate spellings!and!!, so a statement likeX = X ! (A < B & C > 5)was cut at the first!(one source instead of X, A, B, C). The tokenizer now accepts both and normalizes them to|/||, so every downstream check (including compound!=/!!=) sees the canonical operator.Class
PL/I alternate-spelled operators. Same-mechanism sibling:
!!(fixed here).¬<,¬>,^<,^>already tokenize as two ops (pinned by test).Tests
tests/core_engine/test_pli_data_moves.py: each alternate spelling yields the same sources as its canonical form (!,!!, chains, grouped, compound assign, with¬</^>), and!inside a string literal is not an operator.Gates
pytest (pli),
audit_check.pyall clear,ground_truth_ledger.py checkclean (0 of 60 open). No golden drift expected (not regex-rule code).Facts checked
Ledger and audits unchanged. The R0016023 answer key counts were not re-run (DSF corpus is a non-burned census input).
Cross-repo
None.
Lessons for agents
A bare
pythonin a heredoc fails silently-ish when the selfscan venv is not on PATH; re-export PATH in every Bash call and checkgit diff --stat.🤖 Generated with Claude Code