Files
hakorune/docs/development/roadmap
Selfhosting Dev af11c6855b 🚀 Start Phase 15.3: Nyash compiler MVP implementation
Major milestone:
- Set up apps/selfhost-compiler/ directory structure
- Implement basic Nyash compiler in Nyash (CompilerBox)
- Stage-1: Basic arithmetic parser (int/string/+/-/*/括弧/return)
- JSON v0 output compatible with --ny-parser-pipe
- Runner integration with NYASH_USE_NY_COMPILER=1 flag
- Comprehensive smoke tests for PHI/Bridge/Stage-2

Technical updates:
- Updated CLAUDE.md with Phase 15.3 status and MIR14 details
- Statement separation policy: newline-based with minimal ASI
- Fixed runaway ny-parser-pipe processes (CPU 94.9%)
- Clarified MIR14 as canonical instruction set (not 13/18)
- LoopForm strategy: PHI auto-generation during reverse lowering

Collaborative development:
- ChatGPT5 implementing compiler skeleton
- Codex provided LoopForm PHI generation guidance
- Claude maintaining documentation and coordination

🎉 セルフホスティングの歴史的一歩!自分自身をコンパイルする日が近いにゃ!

Co-Authored-By: ChatGPT <noreply@openai.com>
2025-09-15 01:21:37 +09:00
..

🗺️ Nyash 予定(ロードマップ・タスク)

📋 現在進行中

🎯 最重要タスク

  • 現在のタスク: ../../CURRENT_TASK.md
  • Phase 8.3: Box操作WASM実装Copilot担当
  • Phase 8.4: ネイティブコンパイル実装計画AI大会議策定済み

🚀 ネイティブコンパイル計画 (2025-08-14策定)

📊 AI大会議成果

実装フェーズ

  • Phase A (2-3週間): AOT WASM → 500倍高速化目標
  • Phase B (2-3ヶ月): Cranelift Direct → 600倍高速化目標
  • Phase C (6ヶ月+): LLVM Ultimate → 1000倍高速化目標

🤖 Copilot協調管理

📋 Copilot作業管理

🎯 フェーズ別課題

📊 実装状況追跡

完了済み (Phase 8.2)

  • WASM: 0.17ms (280倍高速化)
  • VM: 16.97ms (2.9倍高速化)
  • ベンチマークシステム完成
  • 3バックエンド統合CLI

🚧 進行中 (Phase 8.3)

  • Box操作WASM対応Copilot実装中
  • RefNew/RefGet/RefSet命令
  • メモリレイアウト最適化

🔜 次期予定 (Phase 8.4+)

📚 関連ドキュメント

📖 技術資料

🔄 進捗管理

  • 定期更新: 毎週金曜日に進捗反映
  • AI会議: 重要決定事項は3AI大会議で検討
  • ベンチマーク: 性能回帰チェック自動実行

最終更新: 2025-08-14 - AI大会議によるネイティブコンパイル戦略確定