📚 Phase 15計画を詳細化・更新: Python/llvmlite正式採用とプラグイン全方向ビルド戦略

 主な更新内容:
- Python/llvmlite実装の正式採用を明記(開発速度10倍、~2400行)
- プラグイン全方向ビルド戦略(.so/.o/.a同時生成)で単一EXE生成可能に
- 各実装の予想コード量を具体化(パーサー800行、MIR Builder 2500行、VM 5000行)
- 循環依存問題の解決を明記(nyrtがC ABI経由で提供)
- 現実的なスケジュール調整(2025年9月~2026年3月)

🎉 最新進捗:
- dep_tree_min_string.nyashオブジェクト生成成功(10.4KB)
- LLVM verifier green - dominance違反解決
- Resolver patternでSSA安全性確保

🚀 次のマイルストーン:
- Python/llvmliteでEXE生成パイプライン完成
- nyash-llvm-compiler分離設計
- NyashパーサーMVP実装開始

Everything is Boxの究極形が、ついに実現へ!

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Selfhosting Dev
2025-09-13 15:37:58 +09:00
parent 8e4f6d774d
commit 1d6fab4eda
44 changed files with 1653 additions and 598 deletions

View File

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
crate-type = ["cdylib", "staticlib"]
[dependencies]
once_cell = "1.20"
@ -13,4 +13,3 @@ once_cell = "1.20"
lto = true
strip = true
opt-level = "z"

View File

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
crate-type = ["cdylib", "staticlib"]
[dependencies]
once_cell = "1.20"
@ -16,4 +16,3 @@ default = []
lto = true
strip = true
opt-level = "z"

View File

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
crate-type = ["cdylib", "staticlib"]
[dependencies]
once_cell = "1.21"

View File

@ -5,7 +5,7 @@ edition = "2021"
[lib]
name = "nyash_file"
crate-type = ["cdylib"] # 動的ライブラリとして生成
crate-type = ["cdylib", "staticlib"] # 動的/静的 両対応
[dependencies]
# C FFI用
@ -15,4 +15,4 @@ libc = "0.2"
# nyash-core = { path = "../.." }
[features]
default = []
default = []

View File

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"] # 動的ライブラリとしてビルド
crate-type = ["cdylib", "staticlib"] # 動的/静的 両対応
[dependencies]
# 最小限の依存関係のみ
@ -17,4 +17,4 @@ default = []
[profile.release]
lto = true
strip = true
opt-level = "z" # サイズ最適化
opt-level = "z" # サイズ最適化

View File

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
crate-type = ["cdylib", "staticlib"]
[dependencies]
once_cell = "1.20"
@ -16,4 +16,3 @@ default = []
lto = true
strip = true
opt-level = "z"

View File

@ -4,11 +4,11 @@ version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
crate-type = ["cdylib", "staticlib"]
[dependencies]
pyo3 = { version = "0.22", features = ["auto-initialize"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
[dev-dependencies]
[dev-dependencies]

View File

@ -4,6 +4,6 @@ version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
crate-type = ["cdylib", "staticlib"]
[dependencies]
[dependencies]