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

@ -41,7 +41,7 @@
- **PoC3**: Weak/Barrier の下地WeakLoad は当面 Some 相当、Barrier は no-op
- **PoC4**: Future/Await の基本実装(スレッドなしの即座完了)
- **CLI 統合**
- `nyash --backend wasm program.nyash` で生成・実行wasmtime 呼び出し)
- `nyash --backend wasm program.hako` で生成・実行wasmtime 呼び出し)
- `--output program.wasm` でWASMファイル出力のみ
## Implementation Plan
@ -129,8 +129,8 @@
-**Future Operations**: FutureNew/Await が即座完了として動作
### CLI Integration
-**Command Line**: `nyash --backend wasm test.nyash` で実行可能
-**File Output**: `nyash --backend wasm --output test.wasm test.nyash` でファイル出力
-**Command Line**: `nyash --backend wasm test.hako` で実行可能
-**File Output**: `nyash --backend wasm --output test.wasm test.hako` でファイル出力
-**Error Messages**: 未対応機能の明確なエラーメッセージ
## Test Strategy
@ -156,9 +156,9 @@ fn test_ref_operations_codegen() {
```
### Integration Tests
- `tests/wasm_poc1_arithmetic.nyash` → MIR → WASM → wasmtime実行
- `tests/wasm_poc2_objects.nyash` → RefNew/RefGet/RefSet使用 → WASM実行
- `tests/wasm_poc3_features.nyash` → Weak/Future命令含む → WASM実行
- `tests/wasm_poc1_arithmetic.hako` → MIR → WASM → wasmtime実行
- `tests/wasm_poc2_objects.hako` → RefNew/RefGet/RefSet使用 → WASM実行
- `tests/wasm_poc3_features.hako` → Weak/Future命令含む → WASM実行
### Browser Testing
```html