nyash-codex
b7f7882558
feat(joinir): Phase 79 Activation - BindingId wiring operational (dev-only)
Phase 79 の最終段階:BindingId を ExprLowerer に配線し、end-to-end で動作確認。
Key changes:
- ExprLowerer wiring:
- scope_resolution.rs: build_condition_env_from_scope_with_binding() (BindingId-aware)
- expr_lowerer.rs: lower_condition() uses BindingId priority lookup
- ConditionEnv extension:
- register_loop_var_binding(): Loop var BindingId→ValueId registration
- register_condition_binding(): Condition-only carrier BindingId→ValueId registration
- Pattern2 integration:
- pattern2_with_break.rs: Loop var registration (Line 116-128)
- pattern2_with_break.rs: Carrier role-based registration (Line 381-425)
- Debug logging: [phase79] tags for registration, [binding_pilot/hit] for lookup success
- E2E tests (normalized_joinir_min.rs, debug-only):
- test_phase79_digitpos_bindingid_lookup_works(): DigitPos pattern verification
- test_phase79_trim_bindingid_lookup_works(): Trim pattern verification
Result: BindingId lookup actually works end-to-end
- Promoted carriers resolve via BindingId, not string hacks
- Debug: NYASH_JOINIR_DEBUG=1 shows [phase79] Registered loop var BindingId, [binding_pilot/hit] BindingId(1) -> ValueId(100)
Tests: 1025/1025 lib PASS
Design: dev-only feature-gated, dual-path maintained (BindingId priority + name fallback)
Phase 74-79 complete: BindingId migration fully operational
- Infrastructure (74-76): BindingId type, binding_map, 3-tier lookup, promoted_bindings map
- Implementation (77): DigitPos/Trim populate, legacy deprecate
- Refactoring (78-79 Refactoring): PromotedBindingRecorder, Detector/Recorder split
- Activation (80 Foundation + 79 Activation): CarrierBindingAssigner + ExprLowerer wiring
2025-12-13 16:48:41 +09:00
..
2025-11-20 08:41:37 +09:00
2025-12-04 04:13:15 +09:00
2025-11-06 15:41:52 +09:00
2025-11-25 10:19:02 +09:00
2025-09-22 07:54:25 +09:00
2025-09-15 22:14:42 +09:00
2025-09-19 02:07:38 +09:00
2025-11-06 15:41:52 +09:00
2025-12-10 00:01:53 +09:00
2025-11-06 15:41:52 +09:00
2025-11-06 15:41:52 +09:00
2025-11-01 09:05:02 +09:00
2025-08-23 16:33:32 +09:00
2025-09-16 23:49:36 +09:00
2025-09-16 23:49:36 +09:00
2025-12-09 03:40:25 +09:00
2025-09-16 23:49:36 +09:00
2025-11-20 03:56:12 +09:00
2025-09-16 23:49:36 +09:00
2025-11-21 06:25:17 +09:00
2025-09-16 23:49:36 +09:00
2025-12-11 13:13:08 +09:00
2025-09-16 23:49:36 +09:00
2025-12-02 12:36:28 +09:00
2025-12-08 23:43:26 +09:00
2025-12-13 16:48:41 +09:00
2025-09-16 16:28:25 +09:00
2025-12-11 17:16:10 +09:00
2025-12-13 03:41:33 +09:00
2025-12-11 13:13:08 +09:00
2025-12-11 17:16:10 +09:00
2025-09-25 01:09:48 +09:00
2025-09-16 23:49:36 +09:00
2025-09-16 23:49:36 +09:00
2025-09-16 23:49:36 +09:00