phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0

This commit is contained in:
nyash-codex
2025-11-06 15:41:52 +09:00
parent 2dc370223d
commit 77d4fd72b3
1658 changed files with 6288 additions and 2612 deletions

View File

@ -252,22 +252,22 @@ peek ast {
### ステップ1: 標準コードを書く
```bash
# 通常のNyashで開発
vim src/feature.nyash
vim src/feature.hako
```
### ステップ2: 段階的圧縮
```bash
# L1: 糖衣構文適用
nyashfmt --sugar src/feature.nyash > feature.sugar.nyash
nyashfmt --sugar src/feature.hako > feature.sugar.hako
# L2: ANCP変換
nyash2ancp feature.sugar.nyash > feature.ancp
nyash2ancp feature.sugar.hako > feature.ancp
# L3: 極限糖衣
nyashfmt --ultra feature.ancp > feature.ultra.nyash
nyashfmt --ultra feature.ancp > feature.ultra.hako
# L4: 最大圧縮
nyash2fusion feature.ultra.nyash > feature.fusion
nyash2fusion feature.ultra.hako > feature.fusion
```
### ステップ3: AIとの対話
@ -284,10 +284,10 @@ cat *.fusion | clip
### ステップ4: 可逆展開
```bash
# AIの応答を展開
fusion2nyash --level=0 ai_response.fusion > fixed.nyash
fusion2nyash --level=0 ai_response.fusion > fixed.hako
# 差分確認
diff src/feature.nyash fixed.nyash
diff src/feature.hako fixed.hako
```
## 🛠️ ツールチェーン