- Fix condition_fn resolution: Value call path + dev safety + stub injection - VM bridge: handle Method::birth via BoxCall; ArrayBox push/get/length/set direct bridge - Receiver safety: pin receiver in method_call_handlers to avoid undefined use across blocks - Local vars: materialize on declaration (use init ValueId; void for uninit) - Prefer legacy BoxCall for Array/Map/String/user boxes in emit_box_or_plugin_call (stability-first) - Test runner: update LLVM hint to llvmlite harness (remove LLVM_SYS_180_PREFIX guidance) - Docs/roadmap: update CURRENT_TASK with unified default-ON + guards Note: NYASH_DEV_BIRTH_INJECT_BUILTINS=1 can re-enable builtin birth() injection during migration.
15 lines
611 B
Markdown
15 lines
611 B
Markdown
Layer Guard — json_native
|
||
|
||
Scope and responsibility
|
||
- This layer implements a minimal native JSON library in Ny.
|
||
- Responsibilities: scanning, tokenizing, and parsing JSON; building node structures.
|
||
- Forbidden: runtime/VM specifics, code generation, non‑JSON language concerns.
|
||
|
||
Imports policy (SSOT)
|
||
- Dev/CI: file-using allowed for development convenience.
|
||
- Prod: use only `nyash.toml` using entries (no ad‑hoc file imports).
|
||
|
||
Notes
|
||
- Error messages aim to include: “Error at line X, column Y: …”.
|
||
- Unterminated string → tokenizer emits "Unterminated string literal" (locked by quick smoke).
|