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

@ -27,7 +27,7 @@ nyash-macos (1.8MB) - 署名付き
### **2. 開発者向け配布**
```bash
# LLVM IRの中立性を活用
nyashc --emit-bitcode program.nyash
nyashc --emit-bitcode program.hako
# → program.bc (プラットフォーム中立)
# 各自のマシンで最適化コンパイル

View File

@ -9,7 +9,7 @@ LLVM IRはプラットフォーム中立。だから**1回のIR生成から同
```rust
// 革命的ワンパス・マルチターゲット生成
nyashc --targets linux,windows,macos program.nyash
nyashc --targets linux,windows,macos program.hako
// 出力(同時生成!)
dist/x86_64-unknown-linux-musl/nyash # Linux版

View File

@ -23,7 +23,7 @@
#### **即効性のある解決策Week 1-3**
```bash
# Linux + Windows同時生成
nyashc --targets linux,windows-gnu program.nyash
nyashc --targets linux,windows-gnu program.hako
# 出力
dist/linux/nyash # Linux版musl静的

View File

@ -14,7 +14,7 @@ Phase 9.78 LLVM PoCの第一歩として、inkwellクレートを導入し、最
以下のNyashプログラムがLLVM経由で実行され、正しい終了コードを返すこと
```nyash
// test_return_42.nyash
// test_return_42.hako
static box Main {
main() {
return 42
@ -24,7 +24,7 @@ static box Main {
期待される動作:
```bash
$ cargo run --features llvm -- --backend llvm test_return_42.nyash
$ cargo run --features llvm -- --backend llvm test_return_42.hako
$ echo $?
42
```

View File

@ -29,7 +29,7 @@ Phase 9.78 LLVM PoCの開始です最初のステップとして、inkwellク
## 🎯 成功条件
```nyash
// test_return_42.nyash
// test_return_42.hako
static box Main {
main() {
return 42
@ -68,7 +68,7 @@ static box Main {
## ✅ 完了条件
- [ ] inkwellがビルドできる
- [ ] test_return_42.nyashがコンパイルできる
- [ ] test_return_42.hakoがコンパイルできる
- [ ] 実行ファイルが終了コード42を返す
- [ ] 基本的なテストがパスする

View File

@ -52,7 +52,7 @@ cargo build --features llvm
### 4. **テストプログラム作成**5分
```bash
# テスト用Nyashファイル
cat > test_return_42.nyash << 'EOF'
cat > test_return_42.hako << 'EOF'
static box Main {
main() {
return 42