feat: Phase 2.4 レガシーアーカイブ整理完了(151MB削減)
## 🎉 完了項目 - ✅ plugin_box_legacy.rs削除(7.7KB、参照ゼロ確認済み) - ✅ REMOVEDコメント整理(encode.rs簡潔化) - ✅ venv削除(143MB節約、.gitignoreは既存) - ✅ llvm_legacyスタブ化(8KB、compile_error!による安全化) ## 🏆 成果 - **リポジトリサイズ改善**: 151MB削減 - **コード整理**: レガシーコード安全にアーカイブ - **プラグインファースト**: StrictPluginFirst継続動作 ## ✅ 検証完了 - cargo build --release --features llvm (警告のみ、エラーなし) - LLVMハーネス実行: print出力正常 - プラグイン動作: StringBox等正常動作 codex先生の戦略に従った安全な段階的削除を実行 Co-Authored-By: codex <noreply@anthropic.com>
This commit is contained in:
@ -32,9 +32,9 @@ Exceptions (postfix catch/cleanup): `docs/guides/exception-handling.md`
|
||||
ScopeBox & MIR hints: `docs/guides/scopebox.md`
|
||||
AST JSON v0 (macro/bridge): `docs/reference/ir/ast-json-v0.md`
|
||||
MIR mode note: Default PHI behavior
|
||||
- Default is PHI-ON when the build enables `phi-legacy` (recommended). Otherwise it falls back to PHI‑OFF (edge‑copy) for stability.
|
||||
- Force at runtime: `NYASH_MIR_NO_PHI=0` (PHI‑ON), `NYASH_MIR_NO_PHI=1` (PHI‑OFF).
|
||||
- See `docs/architecture/phi-and-ssa.md`.
|
||||
- Phase‑15 ships PHI‑ON by default. Builders emit SSA `Phi` nodes at merges for loops, break/continue, and structured control flow.
|
||||
- Legacy PHI‑off fallback: set `NYASH_MIR_NO_PHI=1` (pair with `NYASH_VERIFY_ALLOW_NO_PHI=1` if you need relaxed verification).
|
||||
- See `docs/reference/mir/phi_policy.md` for rationale and troubleshooting.
|
||||
Self‑hosting one‑pager: `docs/how-to/self-hosting.md`.
|
||||
ExternCall (env.*) and println normalization: `docs/reference/runtime/externcall.md`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user