Selfhosting Dev
94d95dfbcd
🚀 Break/Continue/Try-Catch構文のサポート追加とMIRループ制御強化
## 主な変更点
### 🎯 MIRループ制御の実装(根治対応)
- src/mir/loop_builder.rs: Break/Continue対応のループコンテキスト管理
- ループのbreak/continueターゲットブロック追跡
- ネストループの適切な処理
- src/mir/builder.rs: Break/Continue文のMIR生成実装
- src/tokenizer.rs: Break/Continue/Tryトークン認識追加
### 📝 セルフホストパーサーの拡張
- apps/selfhost-compiler/boxes/parser_box.nyash:
- Stage-3: break/continue構文受理(no-op実装)
- Stage-3: try-catch-finally構文受理(構文解析のみ)
- エラー処理構文の将来対応準備
### 📚 ドキュメント更新
- 論文K(爆速事件簿): 45事例に更新(4件追加)
- PyVM迂回路の混乱事件
- Break/Continue無限ループ事件
- EXE-first戦略の再発見
- 論文I(開発秘話): Day 38の重要決定追加
### 🧪 テストケース追加
- apps/tests/: ループ制御とPHIのテストケース
- nested_loop_inner_break_isolated.nyash
- nested_loop_inner_continue_isolated.nyash
- loop_phi_one_sided.nyash
- shortcircuit関連テスト
## 技術的詳細
- Break/ContinueをMIRレベルで適切に処理
- 無限ループ問題(CPU 99.9%暴走)の根本解決
- 将来の例外処理機能への準備
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 22:14:42 +09:00
..
2025-09-07 07:36:15 +09:00
2025-09-06 06:24:08 +09:00
2025-08-28 12:09:09 +09:00
2025-09-07 07:28:53 +09:00
2025-09-01 23:44:34 +09:00
2025-08-30 23:47:08 +09:00
2025-09-06 06:24:08 +09:00
2025-09-06 22:08:58 +09:00
2025-09-08 01:08:59 +09:00
2025-09-05 05:49:26 +09:00
2025-09-07 07:36:15 +09:00
2025-09-01 23:44:34 +09:00
2025-09-14 00:44:28 +09:00
2025-09-02 09:26:09 +09:00
2025-09-05 15:18:13 +09:00
2025-08-29 23:11:21 +09:00
2025-09-08 01:08:59 +09:00
2025-09-15 18:44:49 +09:00
2025-09-01 23:44:34 +09:00
2025-09-14 17:09:16 +09:00
2025-09-14 04:51:33 +09:00
2025-08-30 07:47:21 +09:00
2025-08-26 06:44:13 +09:00
2025-09-06 06:24:08 +09:00
2025-09-05 05:16:21 +09:00
2025-09-05 05:16:21 +09:00
2025-09-14 04:51:33 +09:00
2025-08-24 01:58:41 +09:00
2025-08-26 01:42:18 +09:00
2025-09-01 23:44:34 +09:00
2025-09-07 20:59:18 +09:00
2025-09-15 18:44:49 +09:00
2025-09-07 20:23:39 +09:00
2025-09-04 12:15:30 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 18:44:49 +09:00
2025-09-08 01:08:59 +09:00
2025-09-06 06:24:08 +09:00
2025-09-11 18:16:08 +09:00
2025-09-14 04:51:33 +09:00
2025-09-13 15:37:58 +09:00
2025-09-04 11:34:15 +09:00
2025-08-31 03:03:04 +09:00
2025-09-15 18:44:49 +09:00
2025-09-04 11:34:15 +09:00
2025-09-07 07:36:15 +09:00
2025-09-15 01:21:37 +09:00
2025-09-15 18:44:49 +09:00
2025-09-05 13:29:17 +09:00
2025-09-05 13:29:17 +09:00
2025-09-14 19:16:32 +09:00
2025-09-15 18:44:49 +09:00
2025-09-05 13:29:17 +09:00
2025-09-07 20:23:39 +09:00
2025-09-15 01:21:37 +09:00
2025-09-05 13:29:17 +09:00
2025-09-07 07:36:15 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 18:44:49 +09:00
2025-09-05 05:16:21 +09:00
2025-09-04 11:34:15 +09:00
2025-09-14 20:30:38 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 22:14:42 +09:00
2025-09-14 04:51:33 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 18:44:49 +09:00
2025-09-14 04:51:33 +09:00
2025-08-23 16:33:32 +09:00
2025-09-15 01:21:37 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 22:14:42 +09:00
2025-09-15 18:44:49 +09:00
2025-09-15 22:14:42 +09:00
2025-09-06 06:24:08 +09:00
2025-08-30 22:52:16 +09:00
2025-09-02 03:41:51 +09:00
2025-08-29 02:05:39 +09:00
2025-09-06 06:24:08 +09:00
2025-09-05 05:16:21 +09:00
2025-08-26 05:49:23 +09:00
2025-09-07 07:36:15 +09:00
2025-09-07 07:36:15 +09:00
2025-09-07 07:36:15 +09:00
2025-09-07 07:36:15 +09:00
2025-09-08 01:08:59 +09:00
2025-09-08 01:08:59 +09:00
2025-08-24 00:05:12 +09:00