Commit Graph

2122 Commits

Author SHA1 Message Date
28070ea2f2 Fix VM execution bug - include terminator instructions in execution loop
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 12:18:47 +00:00
42379a3694 docs: update Phase 7 planning and add correct Nyash philosophy test files
- Update CLAUDE.md with 32-thread build option
- Enhance phase7_async_mir.md with detailed implementation plan
- Add Obj class definition to phase6_ref_set_get.nyash
- Create phase6_ref_set_get_correct.nyash following Everything is Box philosophy
2025-08-13 21:06:37 +09:00
57b3f13e90 Merge branch 'main' of github.com-moecharm:moe-charm/nyash 2025-08-13 21:03:36 +09:00
bd1a3cb570 Merge pull request #45 from moe-charm/copilot/fix-44
Implement Phase 7: Async model in MIR (nowait/await) with FutureBox integration
2025-08-13 21:01:47 +09:00
cefac9051e Phase 7.4: Complete async MIR implementation with comprehensive tests
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 11:59:22 +00:00
f6e6e5bae4 Phase 7.2: Implement AST→MIR lowering for nowait/await expressions
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 11:48:53 +00:00
b59f0ee419 Phase 7.1: Add MIR instructions for async operations (FutureNew, FutureSet, Await)
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 11:46:01 +00:00
bb1771169c docs: update CURRENT_TASK with Native Phase 7 status and weak reference tests from ChatGPT5 2025-08-13 20:33:02 +09:00
ede4fcfe96 Merge branch 'main' - resolve conflict in phase6_ref_set_get.nyash 2025-08-13 20:12:11 +09:00
c5e784ca38 test(local): add Phase 6 VM sample (ref set/get) for acceptance run 2025-08-13 19:33:34 +09:00
3ebb30221b Merge pull request #43 from moe-charm/copilot/fix-42
Phase 6.1: Wire AST lowering for New/FieldAccess → MIR Ref ops; finalize Barrier no-op; add tests
2025-08-13 19:31:43 +09:00
9adb34ff58 Complete Phase 6.1: AST lowering for New/FieldAccess → MIR Ref ops with tests and VM field storage
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 10:26:46 +00:00
af3ad5e5e2 Implement core AST lowering for New/FieldAccess to MIR Ref ops with basic VM field storage
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 10:20:37 +00:00
bbd444230a Initial progress report: Phase 6.1 AST lowering for New/FieldAccess to MIR Ref ops
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 10:14:09 +00:00
5cbd8a7f82 docs(native-plan): add issue stubs for Phase 9 (JIT baseline), Phase 10 (AOT scaffolding), Phase 14 (Packaging/CI) 2025-08-13 18:54:03 +09:00
fbc3cd9876 docs(native-plan): add Phase 8 MIR→WASM detailed issue; align copilot_issues index; expand README phase 8 section 2025-08-13 18:54:02 +09:00
621bf7cc3d docs: reorganize into 説明書/予定/archive; update docs/README.md and CLAUDE.md; move root .nyash to local_tests; consolidate native-plan notes into README + archive 2025-08-13 18:54:02 +09:00
7941c4ed6a docs(guides): add Phase 6 issue draft (Box ops minimal) 2025-08-13 18:53:59 +09:00
502fcfdcff Merge pull request #40 from moe-charm/copilot/fix-39
Implement Phase 6: Box reference operations in MIR/VM (RefNew/RefGet/RefSet, WeakNew/WeakLoad, BarrierRead/Write)
2025-08-13 18:52:14 +09:00
699979b5b1 Complete Phase 6 implementation with documentation and comprehensive testing
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 09:47:10 +00:00
84d2aac8da Implement Phase 6 Box reference operations in MIR/VM - RefNew/RefGet/RefSet/WeakNew/WeakLoad/Barrier*
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 09:45:22 +00:00
65ce7a5f8c 📍 Add analysis target directory info to report
Shows which directory is being analyzed in the report table:
| **分析対象** | nyash ディレクトリ全体 |

This makes it clear at a glance what scope the analysis covers.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-13 17:00:24 +09:00
8754b92ed3 Merge pull request #38 from moe-charm/copilot/fix-37
Implement Phase 5.2: Static box Main lowering for MIR compilation
2025-08-13 16:57:31 +09:00
cd0039e083 Implement Phase 5.2: Static box Main lowering for MIR compilation
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 07:54:56 +00:00
3082c77ecd Implement Phase 5.2: static box Main lowering to MIR
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 07:53:14 +00:00
ecda4da54a 🧹 Clean up Git tracking: Exclude Rust dev files and LaTeX outputs
- Add nyash-rust/ directory to .gitignore
- Exclude LaTeX generated files (*.aux, *.log, *.out, etc.)
- Keep repository clean from development artifacts

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-13 16:50:16 +09:00
721bea5068 Initial analysis and setup for Phase 5.2: static box Main lowering
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 07:47:08 +00:00
6a2a4fe24a 🔧 Fix nekocode analysis path and error handling
- Change analysis path from src/ to . (root)
- Improve error handling without || true
- Better regex patterns for result extraction  
- Add language count detection
- Japanese error messages for clarity

Fixes: 分析されたファイル 0 → 90+ files
2025-08-13 16:47:03 +09:00
dd123cd3f9 Merge pull request #36 from moe-charm/copilot/fix-35
Phase 5.1: Implement Local variable and TryCatch lowering in MirBuilder
2025-08-13 16:24:59 +09:00
e75e3e15e8 Complete Phase 5.1: Add terminator handling for nested control flow
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 07:17:45 +00:00
ba568f7dfb Implement Local and TryCatch lowering in MirBuilder
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 07:13:53 +00:00
3b040f1587 🔧 Fix NekoCode GitHub Actions: update to use releases/nekocode-rust binary
- Change download path from bin/nekocode_ai to releases/nekocode-rust
- Update command from nekocode_ai to nekocode-rust
- This should fix the 0 files analyzed issue in PR analysis

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-13 15:51:12 +09:00
384ef54adf Merge pull request #34 from moe-charm/copilot/fix-33
Implement Phase 5: Control flow & exceptions in MIR/VM (loop, try/catch/throw)
2025-08-13 15:43:46 +09:00
6df09fa86b Complete Phase 5: End-to-end control flow & exception testing - Full pipeline verified
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 06:27:03 +00:00
d3a85b2305 Implement Phase 5: Control flow & exceptions in MIR/VM - Core functionality complete
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 06:23:28 +00:00
2e9b5daadf Merge pull request #32 from moe-charm/copilot/fix-30
Implement Phase 1: Minimal MIR + VM backend with golden tests
2025-08-13 15:02:43 +09:00
2f3b453fcb Implement Phase 1: MIR + VM backend with golden tests
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 05:59:10 +00:00
5170889285 Merge pull request #31 from moe-charm/copilot/fix-29
Phase 0: Stabilize native CLI build (Linux/Windows)
2025-08-13 14:20:49 +09:00
4c7f000cae Complete Phase 0: Clean duplicate targets and add build documentation
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 05:10:42 +00:00
079a095f5c Implement Phase 0: Stabilize CLI build with feature separation
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 05:06:43 +00:00
f6bd6ef39b Merge #26 completion (Phase 2)
Merging integration/fix-26-ci into main. Build and lib tests verified locally.
2025-08-13 12:04:06 +09:00
2eba31143a test: green up after Phase 2 merge for #26\n\n- Fix AST tests (is_override)\n- Align MIR builder test with current If AST\n- Adjust ResultBox API usage in tests\n- Add len() helpers to ArrayBox/BufferBox for tests 2025-08-13 11:53:34 +09:00
c6f76505b5 🔥 Phase 2 Complete: Comprehensive fini system with ChatGPT5 design
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 02:22:20 +00:00
7ecce09140 Merge pull request #27 from moe-charm/copilot/fix-26
[WIP] 🔥 Weak参照修正 + finiシステム完全実装(ChatGPT5設計)
2025-08-13 11:15:30 +09:00
014fac2b9b Phase 1 Complete: Fixed weak reference bug with dynamic ID parsing
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 02:11:07 +00:00
a70f685274 Merge pull request #25 from moe-charm/copilot/fix-24
[Feature] Complete Canvas Box ecosystem with 10 professional WASM demos
2025-08-13 10:01:44 +09:00
16cd53d125 Complete Canvas Box ecosystem with 10 professional WASM demos
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 00:36:32 +00:00
cfe550ac01 Implement core Canvas Boxes and 5 WASM demos
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-13 00:27:07 +00:00
d3de8bdcde Merge pull request #23 from moe-charm/copilot/fix-22
🔗 Complete Weak Reference System - Final 1% Implementation (Expert-Validated)
2025-08-13 08:41:16 +09:00
9826c7992b Final validation: multi-parent weak reference system complete
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
2025-08-12 22:27:27 +00:00