|
|
f58a60c8e3
|
[VER] 0.3.3-alpha
[FEAT] interface + impl 支持! Duck Typing + 严格的检查让语言健壮
[FEAT][IMPL] 增加辅助函数 isTypeMatch等
[IMPL] TypeInfo构造函数FString 现在 explicit
|
2025-12-30 12:02:27 +08:00 |
|
|
|
f19b14f45f
|
[Impl] 增加 prettyType,返回TypeInfo的FString, StructInstance自动输出父类TypeInfo
|
2025-12-29 20:34:04 +08:00 |
|
|
|
31c2ae4d84
|
[Impl] StructInstance现在记录parent TypeInfo, StructType改用TypeInfo
|
2025-12-29 20:21:12 +08:00 |
|
|
|
2a455a0487
|
[Feat] 实现 std.formater库,增加 std.io.printf函数
[Fix] 修复 evaluator中处理else if condVal类型错误的低级问题
[Feat] 为 String类型增加 insert, replace, erase函数
|
2025-12-29 18:27:39 +08:00 |
|
|
|
cd106fc513
|
[Feat] 增加数学库 std.math
[Fix] 修复resolveModulePath解析二级模块的一些Bug
|
2025-12-29 17:25:06 +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注册
|
2025-12-26 22:26:06 +08:00 |
|
|
|
20f39b7eba
|
[Feat] 支持 += -=等运算符!
|
2025-12-26 21:59:52 +08:00 |
|
|
|
8a047de1c7
|
[Feat] 函数支持可变参数!! func (x...) 获取到的x类型为List
[Impl] Lexer现在贪心检测符号,拓展时可以直接添加到symbol_map
|
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++
|
2025-12-26 20:47:57 +08:00 |
|
|
|
6e1df63507
|
[Fix] 修复For循环求值使用错误的Context问题
|
2025-12-25 17:30:56 +08:00 |
|
|
|
f056b0ffbe
|
[Feat] 增加容器 List, Map, 以及对应Hash
[Impl] Addressable/Unaddressable Error现在内部存储FString而非View
|
2025-12-25 17:10:12 +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 |
|