config: centralize NYASH_STR_CP and add cp smoke

This commit is contained in:
2025-12-28 13:44:53 +09:00
parent 10e6a15552
commit fe3eb9f1f7
9 changed files with 90 additions and 8 deletions

View File

@ -108,6 +108,14 @@ NYASH_USE_STAGE1_CLI=1 STAGE1_EMIT_MIR_JSON=1 \
---
## String / Unicode
| 変数 | デフォルト | 適用経路 | 説明 |
| --- | --- | --- | --- |
| `NYASH_STR_CP=1` | OFF | Any | 文字列の `length` / `indexOf` / `lastIndexOf` / `substring` をコードポイント基準にする(既定はバイト基準) |
---
## PHI デバッグ関連 (Phase 277 P2 統合版)
**Phase 277 P2** で PHI 関連環境変数を **8個 → 3個** に統合しました。