*ON and *OFF as call arguments #634

Manually merged
binjovi-bot merged 1 commit from rpg-9-y-figurative-arg-20261025 into trunk 2026-10-25 00:03:50 +00:00
Owner

*ON and *OFF as call arguments

pick(*on) and maybeValue(*off) pass the figurative constant through a
temporary that the compiler fills with the byte '1' or '0'; a literal
argument pick('1') is passed directly and compiles to other operations. The
rebuild wrote '1' and '0' for both. A byte '1' or '0' that is stored in a
temporary is now *ON or *OFF. The r9r-char-on, r9r-ind-value,
procedure-end-implicit-return and procedure-end-on-exit-fallthrough
twins are the public reproduction; they now match.

Gates

{"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"golden":"golden 173/5/0 == dump 173/5/0","emit":{"worse":[],"better":3,"newly_clean":10,"clean_delta":10,"base":215,"new":225},"twins":{"groups":439,"recovered":428,"regressions":[],"newly":13},"allgroups":{"regressions":[],"newly":["savf/SC-ILE/EXPERIMENTS/d4-out-const/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/d4-out-input/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/d7c-copy/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/fmtind-j1/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/fmtind-j2/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/fmtind-j3/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/h-subind/stripped/object.savf 1"],"worse":[]},"full_check":{"exit":0,"seconds":796}}
# *ON and *OFF as call arguments `pick(*on)` and `maybeValue(*off)` pass the figurative constant through a temporary that the compiler fills with the byte `'1'` or `'0'`; a literal argument `pick('1')` is passed directly and compiles to other operations. The rebuild wrote `'1'` and `'0'` for both. A byte `'1'` or `'0'` that is stored in a temporary is now `*ON` or `*OFF`. The `r9r-char-on`, `r9r-ind-value`, `procedure-end-implicit-return` and `procedure-end-on-exit-fallthrough` twins are the public reproduction; they now match. ## Gates ``` {"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"golden":"golden 173/5/0 == dump 173/5/0","emit":{"worse":[],"better":3,"newly_clean":10,"clean_delta":10,"base":215,"new":225},"twins":{"groups":439,"recovered":428,"regressions":[],"newly":13},"allgroups":{"regressions":[],"newly":["savf/SC-ILE/EXPERIMENTS/d4-out-const/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/d4-out-input/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/d7c-copy/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/fmtind-j1/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/fmtind-j2/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/fmtind-j3/stripped/object.savf 1","savf/SC-ILE/EXPERIMENTS/h-subind/stripped/object.savf 1"],"worse":[]},"full_check":{"exit":0,"seconds":796}} ```
Write *ON and *OFF for a byte passed through a temporary
All checks were successful
binjovi/ci Binjovi completed the frozen plan
6a9b35afaf
pick(*on) fills a temporary with '1' and passes it; pick('1') passes the
literal. The rebuild wrote the literal for both. r9r-char-on, r9r-ind-value and
the two procedure-end twins now match.
binjovi-bot manually merged commit 6a9b35afaf into trunk 2026-10-25 00:03:50 +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!634
No description provided.