Commit Graph

  • 1d97069ebd [Fix] value库 double_from写错了靠 main PuqiAR 2026-01-02 19:28:20 +08:00
  • 6423d844e0 [pwp] w~ PuqiAR 2026-01-02 18:44:41 +08:00
  • 65324d935d iam tired ddd PuqiAR 2026-01-02 17:58:50 +08:00
  • 8981d55641 iam tired PuqiAR 2026-01-02 17:37:53 +08:00
  • f3492a4d28 cnm PuqiAR 2026-01-02 17:37:00 +08:00
  • a1aea72a45 test www PuqiAR 2026-01-02 17:35:47 +08:00
  • 9cee00ac61 test ! PuqiAR 2026-01-02 17:33:52 +08:00
  • c397859ae0 test 7 PuqiAR 2026-01-02 17:32:15 +08:00
  • 59ba60567f test 6 PuqiAR 2026-01-02 17:31:02 +08:00
  • c2c25c13b3 test 5 PuqiAR 2026-01-02 17:29:50 +08:00
  • 41f8201b36 test 4 PuqiAR 2026-01-02 16:59:32 +08:00
  • 6d557622b9 test 3 PuqiAR 2026-01-02 16:57:05 +08:00
  • 4dca435307 test build again! again! PuqiAR 2026-01-02 16:48:10 +08:00
  • 3252344911 test build again! PuqiAR 2026-01-02 16:37:53 +08:00
  • 6ca33f9b05 test build PuqiAR 2026-01-02 16:36:33 +08:00
  • 3e8946fac7 修正xmake.lua PuqiAR 2026-01-02 16:32:26 +08:00
  • 29d46a0cf4 test build again! PuqiAR 2026-01-02 15:40:41 +08:00
  • 281ae3e008 test build PuqiAR 2026-01-02 15:39:47 +08:00
  • 07d9e5543b 测试构建 PuqiAR 2026-01-02 15:37:21 +08:00
  • 20094dbcac 迁移 PuqiAR 2026-01-02 14:59:34 +08:00
  • 3d58b7615f [FEAT] 测试Github Action构建 PuqiAR 2026-01-02 13:18:57 +08:00
  • 28e78be57a [VER] 0.3.5-alpha [FEAT] 现在,我们的内置类型 Int, String等也有构造函数了!像是StructType一样调用,Int{10} [FEAT] List,Map赋值默认为Alias, 现在,通过 List{other}/Map{other} 来创建新的container! 复制出新的容器 [IMPL] Object toString对于 String type 输出进行修改! [IMPL] ... 还有一些忘记了! [ALL] Happy new year! And hope Fig-lang become better! Let's build a new world! v0.3.5a PuqiAR 2026-01-01 16:38:21 +08:00
  • 95f74356a8 [Fix] 修复Implement没有向上级查找的BUG ! 非常抱歉 PuqiAR 2025-12-30 18:14:48 +08:00
  • b76d1e6edf [Fix] 修复TypeInfo Hash不一致问题,以及InterfaceType toString格式化 PuqiAR 2025-12-30 17:55:22 +08:00
  • ba0364fb51 [VER] 0.3.4-alpha PuqiAR 2025-12-30 17:43:44 +08:00
  • 9f24392034 [VER] 0.3.4-alpha [FEAT] 异常系统, try/catch/finally PuqiAR 2025-12-30 17:42:41 +08:00
  • 6982f169aa [IMPL] 版本号改为 0.3.3-alpha 未经广泛测试 PuqiAR 2025-12-30 12:02:42 +08:00
  • f58a60c8e3 [VER] 0.3.3-alpha [FEAT] interface + impl 支持! Duck Typing + 严格的检查让语言健壮 [FEAT][IMPL] 增加辅助函数 isTypeMatch等 [IMPL] TypeInfo构造函数FString 现在 explicit PuqiAR 2025-12-30 12:02:27 +08:00
  • f19b14f45f [Impl] 增加 prettyType,返回TypeInfo的FString, StructInstance自动输出父类TypeInfo PuqiAR 2025-12-29 20:34:04 +08:00
  • 31c2ae4d84 [Impl] StructInstance现在记录parent TypeInfo, StructType改用TypeInfo PuqiAR 2025-12-29 20:21:12 +08:00
  • 92dcd19f39 [Impl] 增加版权信息,后续可能成为包要求 PuqiAR 2025-12-29 19:45:54 +08:00
  • edea443801 [Fix][Impl] while 和 else if 括号现在主动探测,可支持无括号写法 PuqiAR 2025-12-29 19:05:55 +08:00
  • 393a64cac9 [Impl] 移除 math库无用import PuqiAR 2025-12-29 18:55:17 +08:00
  • 2a455a0487 [Feat] 实现 std.formater库,增加 std.io.printf函数 [Fix] 修复 evaluator中处理else if condVal类型错误的低级问题 [Feat] 为 String类型增加 insert, replace, erase函数 PuqiAR 2025-12-29 18:27:39 +08:00
  • cd106fc513 [Feat] 增加数学库 std.math [Fix] 修复resolveModulePath解析二级模块的一些Bug PuqiAR 2025-12-29 17:25:06 +08:00
  • 7565ab7f65 注释修正 PuqiAR 2025-12-27 20:16:09 +08:00
  • b3d417a4d8 安装教程 PuqiAR 2025-12-26 22:43:20 +08:00
  • 25c971118a [Feat] 可变参数 variadic! 目前函数若使用可变参数,参数只能为1个 语法 func (arg...) 获取到的类型为 List 若要判断类型,使用标准库 std.value.type [Feat] 标准库 std.io std.value 实现,提供print,read等函数 详见 Library/std 实现 [Impl] 分离 builtin value 和 function注册 PuqiAR 2025-12-26 22:26:06 +08:00
  • 20f39b7eba [Feat] 支持 += -=等运算符! PuqiAR 2025-12-26 21:59:52 +08:00
  • 8a047de1c7 [Feat] 函数支持可变参数!! func (x...) 获取到的x类型为List [Impl] Lexer现在贪心检测符号,拓展时可以直接添加到symbol_map PuqiAR 2025-12-26 21:43:29 +08:00
  • 00240f1ed1 [Feat] 模块系统支持,使用 import x.x.x导入 [Fix] Context内部辅助函数修改, getStructName .... [Feat] 增加字符串下标获取操作,和修改字符操作,实现使用了第四点的函数 [Impl] FString添加新方法 getRealChar, realReplace [Fun] 在utf8_iterator中辱骂了C++ PuqiAR 2025-12-26 20:47:57 +08:00
  • 6e1df63507 [Fix] 修复For循环求值使用错误的Context问题 PuqiAR 2025-12-25 17:30:56 +08:00
  • 01efa0910d [Feat] 为List增加push函数 PuqiAR 2025-12-25 17:20:04 +08:00
  • 1d452fd8f0 [Impl] 间隔取消 PuqiAR 2025-12-25 17:12:44 +08:00
  • f056b0ffbe [Feat] 增加容器 List, Map, 以及对应Hash [Impl] Addressable/Unaddressable Error现在内部存储FString而非View PuqiAR 2025-12-25 17:10:12 +08:00
  • ab4024c2bf [Feat] 增加栈大小256mb, 增加递归深度, 临时解决方案 PuqiAR 2025-12-24 22:44:33 +08:00
  • cec0c9ce81 [Feat] 更新项目层级的说明 (README),且现在忽略本地测试文件test.fig PuqiAR 2025-12-24 18:20:53 +08:00
  • 44165992c3 [Feat] 更新Readme项目层级,然后现在忽略本地测试文件 test.fig PuqiAR 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/目录下单独文件夹放置每一个模块 PuqiAR 2025-12-24 17:51:49 +08:00
  • 3227230aa2 [Fix] 修复类成员可见性问题 PuqiAR 2025-12-23 11:45:50 +08:00
  • 660cca2579 [Fix] 修复struct内部函数无法访问内部成员的问题 [Feat] 拓展构建 PuqiAR 2025-12-23 01:37:46 +08:00
  • 6226059adc [Fix] 修复无法调用类函数的问题 [Feat] Context merge功能 [Feat] VSCode 拓展现已更为 fig-vscode. PuqiAR 2025-12-23 01:15:35 +08:00
  • 50a4705551 [Impl] 修改Double类型Object格式化输出 std::format 代替 std::to_string. PuqiAR 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 PuqiAR 2025-12-22 23:19:40 +08:00
  • ec9362c615 添加ObjectPtr定义,准备全面加入指针 PuqiAR 2025-12-22 20:45:47 +08:00
  • 271846143a 阶段性保存,全面修改Value为Object PuqiAR 2025-12-22 19:18:43 +08:00
  • 34a56beb90 [feat]类初始化 PuqiAR 2025-12-22 17:38:52 +08:00
  • cff6bb77a3 [Example]添加函数示例 PuqiAR 2025-12-22 14:00:24 +08:00
  • 26bc387032 fix PuqiAR 2025-12-22 13:39:17 +08:00
  • 720ae2bb26 # PuqiAR 2025-12-22 00:02:19 +08:00
  • 2e02960f03 directory organize and lexer now ignores comments PuqiAR 2025-12-22 00:01:24 +08:00
  • 46a169b88a README PuqiAR 2025-12-21 23:23:10 +08:00
  • 014803b705 feat: implement for-loops with proper scope management PuqiAR 2025-12-21 22:55:46 +08:00
  • acc2d33dbc command -v(--version) support. ast typeName method now returns magic_enum::enum_name PuqiAR 2025-12-21 20:18:05 +08:00
  • 8323b9023a add docs(test PuqiAR 2025-12-21 11:48:46 +08:00
  • 17799ff939 value operator for numeric values now explicit PuqiAR 2025-12-20 22:34:30 +08:00
  • ea33ad31dd license PuqiAR 2025-12-20 21:54:09 +08:00
  • 55ec10c032 Update license (include utils' license PuqiAR 2025-12-20 21:53:53 +08:00
  • 9e92bf62d4 Logo! PuqiAR 2025-12-20 21:40:57 +08:00
  • ec1917665e use new function syntax PuqiAR 2025-12-20 20:46:06 +08:00
  • 946ef22849 closure doc PuqiAR 2025-12-20 20:43:47 +08:00
  • 9085cb7ad3 remove trash :D PuqiAR 2025-12-20 20:41:48 +08:00
  • 56459a5eeb support closure!!!!! PuqiAR 2025-12-20 20:38:59 +08:00
  • e7ca714a89 support function literal, set builtins to global context. great! PuqiAR 2025-12-20 20:27:36 +08:00
  • b9a98150ae ignored test.fig PuqiAR 2025-12-19 20:44:07 +08:00
  • e2fd42297f v0.3.1 PuqiAR 2025-12-19 20:42:29 +08:00
  • 47fc704434 Initial commit PuqiAR 2025-12-19 20:40:47 +08:00
  • 73c828d99b v0.3.1 PuqiAR 2025-12-19 20:38:40 +08:00