Commit Graph

64 Commits

Author SHA1 Message Date
3227230aa2 [Fix] 修复类成员可见性问题 2025-12-23 11:45:50 +08:00
660cca2579 [Fix] 修复struct内部函数无法访问内部成员的问题
[Feat] 拓展构建
2025-12-23 01:37:46 +08:00
6226059adc [Fix] 修复无法调用类函数的问题
[Feat] Context merge功能
[Feat] VSCode 拓展现已更为 fig-vscode.
2025-12-23 01:15:35 +08:00
8f4fb69653 [VER 0.3.2-Hotfix]
[Feat] 面对对象(struct)支持,完成对其初始化解析。
[Impl] Value更换为Object,且简单类型按值存储,复杂类型为shared_ptr。
[Impl] 全局使用 Object shared_ptr
2025-12-22 23:19:40 +08:00
271846143a 阶段性保存,全面修改Value为Object 2025-12-22 19:18:43 +08:00
34a56beb90 [feat]类初始化 2025-12-22 17:38:52 +08:00
26bc387032 fix 2025-12-22 13:39:17 +08:00
2e02960f03 directory organize and lexer now ignores comments 2025-12-22 00:01:24 +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
17799ff939 value operator for numeric values now explicit 2025-12-20 22:34:30 +08:00
56459a5eeb support closure!!!!! 2025-12-20 20:38:59 +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