主な変更: - ConsoleBox/MathBoxプラグイン実装・登録完了 - nyash_box.toml 2ファイルシステム設計(中央レジストリ+個別仕様書) - 全プラグインにnyash_box.tomlテンプレート追加 - プラグイン優先機能(NYASH_USE_PLUGIN_BUILTINS=1)文書化 - ビルトインBox削除準備(ChatGPT5実装中) - ネイティブビルドデモ追加(Linux/Windows動作確認済み) Everything is Box → Everything is Plugin への歴史的転換! 開発20日目にしてビルトインBox全削除という革命的決定。 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
15 lines
267 B
Plaintext
15 lines
267 B
Plaintext
// IntegerBox plugin demo with ConsoleBox
|
|
static box Main {
|
|
main() {
|
|
local c
|
|
c = new ConsoleBox()
|
|
|
|
local i
|
|
i = new IntegerBox()
|
|
i.set(42)
|
|
c.println("IntegerBox set to 42")
|
|
c.println("get() = " + i.get())
|
|
|
|
return i.get()
|
|
}
|
|
} |