## 🌟 主要変更 - NyIR Core: 25命令 → 26命令(ExternCall追加) - Universal Exchange Vision実現基盤完成 - Everything is Box哲学:外部ライブラリ統一対応 ## 📋 完了した統一作業 - ✅ docs/nyir/spec.md: 26命令正式仕様確定 - ✅ docs/nyir/vision_universal_exchange.md: ChatGPT5ビジョン統合 - ✅ docs/予定/native-plan/copilot_issues.txt: 実装計画全面更新 - ✅ Extension戦略再定義: 言語固有機能に限定 ## 🎯 26命令完全定義 **Tier-0 (8命令)**: Const, BinOp, Compare, Branch, Jump, Phi, Call, Return **Tier-1 (13命令)**: NewBox, BoxFieldLoad, BoxFieldStore, BoxCall, **ExternCall**, Safepoint, RefGet, RefSet, WeakNew, WeakLoad, WeakCheck, Send, Recv **Tier-2 (5命令)**: TailCall, Adopt, Release, MemCopy, AtomicFence ## 🔥 ExternCall革命 外部ライブラリをBox統一APIで利用する革命的機能追加 ## 📚 新規ドキュメント - docs/nyir/: NyIR公開仕様フォルダ新設 - box_ffi_abi.md: Box FFI/ABI完全設計(ChatGPT5) - phase_9_7実装仕様: GitHub Issue #72準備完了 ## 🚀 次期タスク Phase 9.7: Box FFI/ABI実装(Issue #72) - MIR ExternCall命令実装 - WASM RuntimeImports統合 - Universal Library Integration実現 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
558 B
YAML
27 lines
558 B
YAML
version: 0
|
|
interfaces:
|
|
- name: env.canvas
|
|
box: Canvas
|
|
methods:
|
|
- name: fillRect
|
|
params:
|
|
- { string: canvas_id }
|
|
- { i32: x }
|
|
- { i32: y }
|
|
- { i32: w }
|
|
- { i32: h }
|
|
- { string: color }
|
|
returns: void
|
|
effect: io
|
|
|
|
- name: fillText
|
|
params:
|
|
- { string: canvas_id }
|
|
- { string: text }
|
|
- { i32: x }
|
|
- { i32: y }
|
|
- { string: font }
|
|
- { string: color }
|
|
returns: void
|
|
effect: io
|