🚀 Phase 12.7-B: ChatGPT5糖衣構文(基本実装完了) - パイプライン演算子(|>)実装 - セーフアクセス(?.)とデフォルト値(??)実装 - sugar gateによる段階的有効化機能 - 糖衣構文テストスイート追加 🤖 自律型AI開発システム改善 - codex-async-notify.sh: タスク制御指示追加 - "下の箱を積み過ぎないように先に進んでください" - "フェーズが終わったと判断したら止まってください" - プロセス数表示機能の改善(count_running_codex_display) - 自動停止機能が正常動作(Phase 12.7-C前で停止確認) 📚 ドキュメント更新 - Paper 13: 自律型AI協調開発システムの革新性を文書化 - ANCP可逆マッピング仕様追加 - nyfmt PoC(フォーマッター)計画追加 🧱 箱理論の体現 - 74k行のコードベース(Phase 15で20k行を目指す) - ANCP適用で最終的に6k行相当を狙う - 世界最小の実用コンパイラへの道 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
34 lines
1.1 KiB
Markdown
34 lines
1.1 KiB
Markdown
# Developer Quickstart
|
||
|
||
This quickstart summarizes the most common build/run/test flows when working on Nyash.
|
||
|
||
## Build
|
||
- VM/JIT (Cranelift): `cargo build --release --features cranelift-jit`
|
||
- LLVM AOT: `LLVM_SYS_180_PREFIX=$(llvm-config-18 --prefix) cargo build --release --features llvm`
|
||
|
||
## Run
|
||
- Quick VM run: `./target/release/nyash --backend vm apps/APP/main.nyash`
|
||
- LLVM emit+link helper: `tools/build_llvm.sh apps/APP/main.nyash -o app`
|
||
|
||
## Smokes
|
||
- End‑to‑end LLVM smokes: `./tools/llvm_smoke.sh release`
|
||
- Use env toggles like `NYASH_LLVM_VINVOKE_RET_SMOKE=1`
|
||
|
||
## Syntax Sugar (Phase 12.7)
|
||
- Control via env: `NYASH_SYNTAX_SUGAR_LEVEL=none|basic|full`
|
||
- Or via `nyash.toml`:
|
||
```toml
|
||
[syntax]
|
||
sugar_level = "none" # or "basic" / "full"
|
||
```
|
||
|
||
## MIR Migration Notes
|
||
- Implementation currently enforces Core‑15 during migration with tests in place.
|
||
- Core‑13 is the final minimal kernel target. The final flip documentation is tracked under:
|
||
`docs/development/roadmap/mir/core-13/step-50/`.
|
||
|
||
## Testing
|
||
- Rust unit tests: `cargo test`
|
||
- Targeted: e.g., tokenizer/sugar config `cargo test --lib sugar_basic_test -- --nocapture`
|
||
|