Step 150: add Rust parser and generator

This commit is contained in:
Bill
2026-02-09 19:02:07 -07:00
parent 52b54575ec
commit 7ef0c4a8ad
12 changed files with 1114 additions and 3 deletions

View File

@@ -251,7 +251,7 @@ adds full semantic support.
→ GC-managed (default), @Owner(Single) → AutoCloseable/try-with-resources.
*Modifies:* `Parser.h`, `Generator.h`
- [ ] **Step 150: Rust CST-to-AST and generator**
- [x] **Step 150: Rust CST-to-AST and generator**
Full tree-sitter Rust parsing: functions, structs, enums, traits, impls,
lifetimes, pattern matching, Result/Option. Generator produces Rust with
proper ownership semantics. Memory annotations map naturally: @Owner(Single)