docs: confirm Option A (no var/let; explicit local). Add notes to cheatsheet, language reference, tutorials. CURRENT_TASK updated with decision and next small items.

This commit is contained in:
nyash-codex
2025-09-28 02:00:53 +09:00
parent a4d014a814
commit 1994990f47
4 changed files with 19 additions and 1 deletions

View File

@ -215,6 +215,8 @@ x = 42
y = 42 // Runtime Error + 修正提案
```
注記: Nyash は `var`/`let` をサポートしません。必ず `local` で宣言してから使用します。
### ループ構文統一
```nyash
// ✅ 唯一の正しい形式
@ -251,4 +253,4 @@ while condition { } // 使用不可
📚 **関連ドキュメント:**
- [Getting Started](GETTING_STARTED.md) - 環境構築・最初の一歩
- [P2P Guide](P2P_GUIDE.md) - P2P通信システム完全ガイド
- [Built-in Boxes](reference/builtin-boxes.md) - ビルトインBox詳細リファレンス
- [Built-in Boxes](reference/builtin-boxes.md) - ビルトインBox詳細リファレンス