- ソースコードをcommit 3f7d71fの状態に復元(古いプラグインシステム実装前) - docsフォルダは最新の状態を維持(BID-FFI設計ドキュメント含む) - nyashバイナリの基本動作確認済み - BID-FFIシステムをクリーンに再実装する準備完了 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
401 B
Plaintext
19 lines
401 B
Plaintext
// 簡単なNyashテストプログラム
|
|
print("🎉 Nyash is working!")
|
|
print("Everything is Box!")
|
|
|
|
// 基本的な演算
|
|
local a = 10
|
|
local b = 20
|
|
local result = a + b
|
|
print("10 + 20 = " + result.toString())
|
|
|
|
// StringBox
|
|
local greeting = "Hello, Nyash!"
|
|
print(greeting)
|
|
|
|
// ArrayBox
|
|
local arr = new ArrayBox()
|
|
arr.push("First")
|
|
arr.push("Second")
|
|
print("Array length: " + arr.length().toString()) |