harb/tools/push3-transpiler
johba 0cb2e7ba07 fix: EXEC.IF branch reconciliation still injects synthetic zeros (#618) (#1033)
Fixes #618

## Changes
Add stack depth validation in processExecIf() so asymmetric EXEC.IF branches (where one branch pushes more values than the other) throw an explicit error instead of silently padding with '0'. Error messages identify both branch depths for DYADIC and BOOLEAN stacks. Removed dead-code '0'/'false' fallbacks in buildAssignments and reconstruction. Updated existing unbalanced-branch tests to expect errors; added regression tests for error message content and BOOLEAN mismatch. All existing seed files (optimizer_v3.push3, optimizer_seed.push3) continue to transpile.

Co-authored-by: openhands <openhands@all-hands.dev>
Reviewed-on: https://codeberg.org/johba/harb/pulls/1033
Reviewed-by: Disinto_bot <disinto_bot@noreply.codeberg.org>
2026-03-20 08:42:34 +01:00
..
src fix: EXEC.IF branch reconciliation still injects synthetic zeros (#618) (#1033) 2026-03-20 08:42:34 +01:00
test fix: EXEC.IF branch reconciliation still injects synthetic zeros (#618) (#1033) 2026-03-20 08:42:34 +01:00
inject.sh fix: formula scripts broken on evolution box (#1006, #1007, #1008) 2026-03-19 14:09:38 +00:00
optimizer_seed.push3 fix: Push3 optimizer: dyadic rational input interface (8 slots) + 4-output redesign (#548) 2026-03-11 15:23:36 +00:00
optimizer_v3.push3 fix: Push3 optimizer: dyadic rational input interface (8 slots) + 4-output redesign (#548) 2026-03-11 15:23:36 +00:00
package-lock.json fix: inject.sh uses ts-node which is broken on Node >= 22 ESM (#1008) 2026-03-19 21:44:29 +00:00
package.json fix: No tests for transpiler stack-depth validation (#619) 2026-03-20 03:29:45 +00:00
test_inject_extraction.sh fix: inject.sh uses ts-node which is broken on Node >= 22 ESM (#1008) 2026-03-19 21:44:29 +00:00
test_transpiler_clamping.sh fix: inject.sh uses ts-node which is broken on Node >= 22 ESM (#1008) 2026-03-19 21:44:29 +00:00
tsconfig.json fix: inject.sh uses ts-node which is broken on Node >= 22 ESM (#1008) 2026-03-19 21:44:29 +00:00