You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Function Intent extraction picks up a PL/I %PROCESS compiler directive #3115
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: lowUI tweaks, documentation, and minor optimizations
Found by the real-repo plausibility audit of a galaxyscope scan of IBM's zopeneditor-sample, engine main just after REXX #2504 / PR #3107.
In section 8 of the brief (Core Function Hitlist), PSAM2 (@ PLI/PSAM2.pli) rendered:
* *Intent:* %PROCESS SOURCE RULES(LAXIF);
The file's first line is a %PROCESS compiler-option directive, and the intent extractor took it as the function's purpose. Cosmetic, but it is front-and-centre in the heaviest-functions list — exactly where a demo reader looks.
%PROCESS / *PROCESS directive lines should be ineligible as intent text. pli.py already classifies the shape as decorators — a pragma line, not prose:
# gitgalaxy/standards/language_standards/languages/pli.py:379-382# decorators: the `*PROCESS` / `%PROCESS` compiler-option directive (a pragma line)"decorators": re.compile(
r"^[ \t]*[*%][ \t]*PROCESS\b|"+_L+r"OPTIONS[ \t]*\(",
The underlying question worth deciding here: should intent extraction prefer a doc-comment/prose source generally, rather than the first available line?
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: lowUI tweaks, documentation, and minor optimizations
Activity
Skip decorator/pragma lines in function intent extraction (#3115) (#3150
Bless golden masters: testrunner.tcl recovers 18 procs (#3142)
Fix tcl proc loss after an unterminated double-quote (#3142) (#3149)