Files
hakorune/docs/development
nyash-codex bf81488c67 feat(selfhost): Phase 150 - Selfhost Stage-3 Depth-1 baseline strengthening
Completed all 5 tasks for Phase 150 implementation:

Task 1: Consolidated selfhost pipeline diagram
- Updated selfhost_stage3_expected_flow.md with unified flow diagram
- Documented all stages: Stage-B, Stage-1, Stage-3, dev_verify
- Added +120 lines of detailed pipeline documentation

Task 2: Expanded representative cases (3 → 5)
- Added 3 new test cases:
  - string_method_chain.hako: method chaining (substring().length())
  - joinir_min_loop.hako: loop with break control
  - joinir_if_select_simple.hako: if with early return
- All 5 cases pass with NYASH_FEATURES=stage3 NYASH_USE_NY_COMPILER=1
- Created comprehensive results document (+400 lines)

Task 3: Created selfhost smoke test script
- New: tools/smokes/v2/profiles/integration/selfhost_phase150_depth1_smoke.sh
- Automated testing of all 5 representative cases
- All tests passing:  Passed: 5,  Failed: 0

Task 4: Classified failures for Phase 151+
- Phase 151 (High): ConsoleBox selfhost support (2-3 hours)
  - Affects: esc_dirname_smoke.hako, string_ops_basic.hako
- Phase 152-A (Medium): Parenthesized assignment expression (1-2 hours)
- Phase 152-B (Medium): static method syntax support (1-2 hours)

Task 5: Updated CURRENT_TASK.md
- Added Phase 150 completion entry with full implementation details
- Updated roadmap section with Phase 150 completion
- Documented next steps: Phase 151-152 bug fixes

Results Summary:
- Selfhost depth-1 baseline: 3 → 5 cases (67% increase)
- JoinIR Strict mode: 100% pass rate on all 5 cases
- Smoke test infrastructure: fully automated verification
- Documentation: pipeline diagram + results + failure analysis

🎉 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 12:40:01 +09:00
..

Nyash Development Documentation 🔧

開発者向けの進行中タスクと開発計画ドキュメントです。

📂 ディレクトリ構造

current/

  • CURRENT_TASK.md - 現在進行中のタスク
  • アクティブな開発作業の詳細
  • 最新の実装状況

roadmap/

  • phases/ - フェーズ別開発計画
    • phase-8/ - AST→MIR変換
    • phase-9/ - VM/JIT実装
    • phase-10/ - AOT最適化
  • native-plan/ - ネイティブビルド計画
    • 実行バックエンド統合
    • パフォーマンス目標

proposals/

  • RFCRequest for Comments
  • 新機能提案
  • 設計ディスカッション

🎯 重要な参照先

  • 進行状況: current/CURRENT_TASK.md
  • 開発計画: roadmap/phases/
  • 技術提案: proposals/

📝 注意事項

このディレクトリの内容は開発中であり、頻繁に変更されます。 安定した仕様はreference/を参照してください。