docs: WASM Canvas研究とFFI-ABI実装戦略の追加
- CURRENT_TASK.mdにWASM研究メモセクション追加 - MIR→WAT→WASM実行フローの確認 - Canvas実装の3つの選択肢を文書化 - CanvasBox実装(推奨) - グローバルcanvasオブジェクト - 標準ライブラリ拡張 - FFI-ABI仕様に基づくFileBox実装戦略を検討 - 純粋FFI-ABI方式でのfile.read/write実装計画策定
This commit is contained in:
7
local_tests/test_console_wasm.nyash
Normal file
7
local_tests/test_console_wasm.nyash
Normal file
@ -0,0 +1,7 @@
|
||||
// Console WASM test - ExternCall経由でconsole操作
|
||||
console.log("Hello from Nyash WASM!")
|
||||
|
||||
// 複数の値をテスト
|
||||
local result = 42
|
||||
console.log("The answer is:")
|
||||
console.log(result.toString())
|
||||
Reference in New Issue
Block a user