Commit Graph

6 Commits

Author SHA1 Message Date
271846143a 阶段性保存,全面修改Value为Object 2025-12-22 19:18:43 +08:00
34a56beb90 [feat]类初始化 2025-12-22 17:38:52 +08:00
014803b705 feat: implement for-loops with proper scope management
- Add support for C-style for loops: for (init; condition; increment) { body }
- Implement three-level scoping: loop context + per-iteration contexts
- Add semicolon disabler for increment statements using RAII guards
- Support break/continue/return control flow with scope validation
- Fix semicolon handling in parser for flexible for-loop syntax
2025-12-21 22:55:46 +08:00
acc2d33dbc command -v(--version) support. ast typeName method now returns magic_enum::enum_name 2025-12-21 20:18:05 +08:00
e7ca714a89 support function literal, set builtins to global context. great! 2025-12-20 20:27:36 +08:00
73c828d99b v0.3.1 2025-12-19 20:38:40 +08:00