Commit Graph

34 Commits

Author SHA1 Message Date
f056b0ffbe [Feat] 增加容器 List, Map, 以及对应Hash
[Impl] Addressable/Unaddressable Error现在内部存储FString而非View
2025-12-25 17:10:12 +08:00
ab4024c2bf [Feat] 增加栈大小256mb, 增加递归深度, 临时解决方案 2025-12-24 22:44:33 +08:00
cec0c9ce81 [Feat] 更新项目层级的说明 (README),且现在忽略本地测试文件test.fig 2025-12-24 18:20:53 +08:00
44165992c3 [Feat] 更新Readme项目层级,然后现在忽略本地测试文件 test.fig 2025-12-24 18:20:48 +08:00
fc35368d85 [Feat] 详细区分左值(LvObject)与右值(RvObject -> ObjectPtr)
[Impl] 重构evaluator.cpp + hpp 全部
[Feat] 增加对于IndexExpr的解析
[Fix][Impl] 现在点运算符不由BinaryExpr负责,增加MemberExpr,单独实现解析
[Impl] 项目目录全部翻修, src/目录下单独文件夹放置每一个模块
2025-12-24 17:54:38 +08:00
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
50a4705551 [Impl] 修改Double类型Object格式化输出 std::format 代替 std::to_string. 2025-12-22 23:38:20 +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
ec9362c615 添加ObjectPtr定义,准备全面加入指针 2025-12-22 20:45:47 +08:00
271846143a 阶段性保存,全面修改Value为Object 2025-12-22 19:18:43 +08:00
34a56beb90 [feat]类初始化 2025-12-22 17:38:52 +08:00
cff6bb77a3 [Example]添加函数示例 2025-12-22 14:00:24 +08:00
26bc387032 fix 2025-12-22 13:39:17 +08:00
720ae2bb26 # 2025-12-22 00:02:19 +08:00
2e02960f03 directory organize and lexer now ignores comments 2025-12-22 00:01:24 +08:00
46a169b88a README 2025-12-21 23:23:10 +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
8323b9023a add docs(test 2025-12-21 11:48:46 +08:00
17799ff939 value operator for numeric values now explicit 2025-12-20 22:34:30 +08:00
ea33ad31dd license 2025-12-20 21:54:09 +08:00
55ec10c032 Update license (include utils' license 2025-12-20 21:53:53 +08:00
9e92bf62d4 Logo! 2025-12-20 21:40:57 +08:00
ec1917665e use new function syntax 2025-12-20 20:46:06 +08:00
946ef22849 closure doc 2025-12-20 20:43:47 +08:00
9085cb7ad3 remove trash :D 2025-12-20 20:41:48 +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
b9a98150ae ignored test.fig 2025-12-19 20:44:07 +08:00
e2fd42297f v0.3.1 2025-12-19 20:42:29 +08:00
47fc704434 Initial commit 2025-12-19 20:40:47 +08:00
73c828d99b v0.3.1 2025-12-19 20:38:40 +08:00