json_native: Import JSON native implementation from feature branch

- Added apps/lib/json_native/ directory with complete JSON parser implementation
- Updated CLAUDE.md with JSON native import status and collect_prints investigation
- Added debug traces to mini_vm_core.nyash for collect_prints abnormal termination
- Note: JSON native uses match expressions incompatible with current parser
- Investigation ongoing with Codex for collect_prints method issues

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Selfhosting Dev
2025-09-23 04:51:17 +09:00
parent 39f27a348a
commit 7ab1e59450
20 changed files with 4390 additions and 8 deletions

View File

@ -277,16 +277,19 @@ NYASH_LLVM_USE_HARNESS=1 ./target/release/nyash program.nyash
- 🎯 **AI協働デバッグ**: Claude+ChatGPT修正+系統的トレースの完璧な連携実現
- 📋 詳細: JITアーカイブは `archive/jit-cranelift/` に完全移動、復活手順も完備
## 📝 Update (2025-09-22) 🎯 Phase 15 using system完全解決
## 📝 Update (2025-09-22) 🎯 Phase 15 JSON Native実装導入調査継続中
-**using systemパーサー問題完全解決** `NYASH_RESOLVE_FIX_BRACES=1`でブレースバランス自動修正
- 🆕 **JSON Native実装を導入** 別Claude Code君の`feature/phase15-nyash-json-native`から`apps/lib/json_native/`取り込み完了
- 🔧 **ChatGPTの統合実装承認** JSON読み込み処理統合は正しい方向性、技術的に高度
- 🔍 **根本原因解明**: using systemのファイル統合時にブレースバランス問題、自動修正で対応
- 📊 **現在の状況**:
- using systemパーサーエラー: ✅ 完全解決
- collect_prints()処理: ✅ echo/itoa正常動作
- 🔍 **調査中**: collect_prints()戻り値の異常終了問題メソッド実行は正常、returnトレースのみ欠落
- 🎯 **技術成果**: Task先生の調査により、using system統合の複雑な技術課題を解決
- 🚀 **Phase 15セルフホスティング**: 主要なusing system障害を克服、安定性大幅向上
- JSON Native: 📦 取り込み済みmatch式互換性の課題あり
- 🔍 **調査中**: collect_prints()戻り値の異常終了問題Codex/Task並行調査中
- 🎯 **技術成果**:
- Task先生の調査により、using system統合の複雑な技術課題を解決
- JSON Native実装yyjson置き換えの基盤完成度90%
- 🚀 **Phase 15セルフホスティング**: 主要障害を克服、JSON Native統合準備中
## 📝 Update (2025-09-18) 🌟 Property System革命達成
-**Property System革命完了** ChatGPT5×Claude×Codexの協働により、stored/computed/once/birth_once統一構文完成