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

@ -26,8 +26,8 @@
- 最小限main関数、return文のみ
- [ ] エンドツーエンドテスト
```bash
echo 'print(42)' > test.nyash
./nyash phase22-compiler.nyash test.nyash
echo 'print(42)' > test.hako
./nyash phase22-compiler.hako test.hako
```
- [ ] Rust版との出力比較
@ -62,7 +62,7 @@
## 成功指標
### 必須要件
- [ ] `dep_tree_min_string.nyash` のコンパイル成功
- [ ] `dep_tree_min_string.hako` のコンパイル成功
- [ ] 基本的なプラグインテスト通過
- [ ] Rust版と同一のオブジェクトファイル生成
@ -97,7 +97,7 @@
```nyash
// NyashコンパイラでNyashコンパイラをコンパイル
local compiler = new NyashCompiler()
compiler.compile("phase22-compiler.nyash", "nyash-compiler.exe")
compiler.compile("phase22-compiler.hako", "nyash-compiler.exe")
```
### Phase 23: 完全セルフホスティング

View File

@ -100,7 +100,7 @@ i64 llvm_build_batch(i64 module, const char* encoded_ops, i32 len);
cargo build --release --features llvm # 5-7分待つ...
# 提案(即座に実行)
./target/release/nyash nyash-llvm-compiler.nyash test.nyash
./target/release/nyash nyash-llvm-compiler.hako test.hako
```
### 2. 理解可能性の革命