🎉 initial commit: Nyash Programming Language完成版
🚀 主要機能: • Everything is Box哲学による革新的アーキテクチャ • WebAssemblyブラウザー対応プレイグラウンド • アーティスト協同制作デモ - 複数Boxインスタンス実証 • 視覚的デバッグシステム - DebugBox完全統合 • static box Mainパターン - メモリ安全設計 ⚡ 言語機能: • NOT/AND/OR/除算演算子完全実装 • ジェネリクス/テンプレートシステム • 非同期処理(nowait/await) • try/catchエラーハンドリング • Canvas統合グラフィックス 🎨 ブラウザー体験: • 9種類のインタラクティブデモ • リアルタイムコード実行 • WebCanvas/WebConsole/WebDisplay • モバイル対応完了 🤖 Built with Claude Code collaboration Ready for public release!
This commit is contained in:
11
test_undeclared_variable_error.nyash
Normal file
11
test_undeclared_variable_error.nyash
Normal file
@ -0,0 +1,11 @@
|
||||
// 🚨 未宣言変数エラーテスト - 厳密性の実証
|
||||
|
||||
static box Main {
|
||||
main() {
|
||||
// ❌ これは未宣言変数エラーになるはず
|
||||
x = 42
|
||||
console = new ConsoleBox()
|
||||
console.log("This should not work!")
|
||||
return "This should fail!"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user