A1.4: Add sugar syntax `public weak parent` ≡ `public { weak parent }`
A1.5: Fix parser hang on unsupported `param: Type` syntax
Key changes:
- A1.4: Extend visibility parser to handle weak modifier (fields.rs)
- A1.5: Shared helper `parse_param_name_list()` with progress-zero detection
- A1.5: Fix 6 vulnerable parameter parsing loops (methods, constructors, functions)
- Tests: Sugar syntax (OK/NG), parser hang (timeout-based)
- Docs: lifecycle.md, EBNF.md, phase-285a1-boxification.md
Additional changes:
- weak() builtin implementation (handlers/weak.rs)
- Leak tracking improvements (leak_tracker.rs)
- Documentation updates (lifecycle, types, memory-finalization, etc.)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Nyash User Guides 📚
Nyashプログラミング言語の利用者向けガイドとチュートリアルです。
Quick Links
- Docsの書き方(小さく・リンク駆動・3層): contributing-docs.md
🚀 はじめに
getting-started.md- Nyashを始めるためのクイックガイド
📖 サブディレクトリ
tutorials/
hello-world.md- 最初のNyashプログラムbasic-boxes.md- Box(クラス)の基礎delegation.md- デリゲーションの使い方p2p-apps.md- P2Pアプリケーション開発
examples/
- 実践的なサンプルコード集
- よくあるパターンの実装例
- ベストプラクティス
wasm-guide/
- WebAssemblyビルドガイド
- ブラウザープレイグラウンドの使い方
- Webアプリケーション開発
🎯 学習順序
getting-started.mdから始めるtutorials/のチュートリアルを順番にexamples/で実践的なコードを学ぶ- 特定用途(WASM等)は各ガイドへ