Recover %TRIML and %TRIMR of a field (touches rpg_eval.zig) #728

Manually merged
binjovi-bot merged 2 commits from lc-trim-halves into trunk 2026-11-04 22:56:12 +00:00
Owner

%TRIML and %TRIMR recover as values (touches rpg_eval.zig)

The trim unit of rpg_trim.zig accepted only the two loops of %TRIM. A
%TRIML is the first loop alone and a %TRIMR the second one alone, each
with its own label definitions (operation 15); the other labels of the
statement stopped the shape proof at control_flow / operation_semantics.
halves reads either loop, Loops.kind names it, and the assignment form
(S = %TRIML(C), h-bifs-char 19 and 20) and the %INT(...) argument form
become op_triml_value / op_trimr_value, shown as %TRIML(F) and
%TRIMR(F). The length form %LEN(%TRIM(F)) still takes the two loops only.

Gates

{"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"golden":"golden floor 173 ceiling 0 <= dump 173/5/0","legend":"current","emit":{"worse":[],"better":0,"newly_clean":0,"clean_delta":0,"base":336,"new":336},"twins":{"groups":485,"recovered":477,"regressions":[],"newly":0},"allgroups":{"regressions":[],"newly":["savf/SC-ILE/EXPERIMENTS/h-bifs-char/stripped/object.savf 2","savf/SC-ILE/EXPERIMENTS/l3b-elem-var/stripped/object.savf 1"],"worse":[]},"full_check":{"exit":0,"seconds":854}}
# %TRIML and %TRIMR recover as values (touches rpg_eval.zig) The trim unit of `rpg_trim.zig` accepted only the two loops of `%TRIM`. A `%TRIML` is the first loop alone and a `%TRIMR` the second one alone, each with its own label definitions (operation 15); the other labels of the statement stopped the shape proof at control_flow / operation_semantics. `halves` reads either loop, `Loops.kind` names it, and the assignment form (`S = %TRIML(C)`, h-bifs-char 19 and 20) and the `%INT(...)` argument form become `op_triml_value` / `op_trimr_value`, shown as `%TRIML(F)` and `%TRIMR(F)`. The length form `%LEN(%TRIM(F))` still takes the two loops only. ## Gates ``` {"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"golden":"golden floor 173 ceiling 0 <= dump 173/5/0","legend":"current","emit":{"worse":[],"better":0,"newly_clean":0,"clean_delta":0,"base":336,"new":336},"twins":{"groups":485,"recovered":477,"regressions":[],"newly":0},"allgroups":{"regressions":[],"newly":["savf/SC-ILE/EXPERIMENTS/h-bifs-char/stripped/object.savf 2","savf/SC-ILE/EXPERIMENTS/l3b-elem-var/stripped/object.savf 1"],"worse":[]},"full_check":{"exit":0,"seconds":854}} ```
Name rpg_eval.zig in the change note
All checks were successful
binjovi/ci Binjovi completed the frozen plan
262b2de6c9
sean changed title from %TRIML and %TRIMR recover as values (touches rpg_eval.zig) to Recover %TRIML and %TRIMR of a field (touches rpg_eval.zig) 2026-11-04 22:45:11 +00:00
binjovi-bot manually merged commit 7705c0e06c into trunk 2026-11-04 22:56:12 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/sourcerer!728
No description provided.