Commit Graph

16 Commits

Author SHA1 Message Date
ichirinko
419b0bb296 fix:将while判断由!改为false
Some checks failed
Integration Test / Open-Set-Test (push) Has been cancelled
Test canon project / Test-Canon (push) Has been cancelled
同时去除了一条无用语句
2024-05-13 22:52:55 +08:00
cff5ec430b fix: 前端的日志输出 (#81)
Reviewed-on: PostGuard/Canon#81
2024-05-12 22:36:17 +08:00
ab80d0c269 feat: 对于条件表达式的短路支持 (#80)
Reviewed-on: PostGuard/Canon#80
2024-05-12 20:28:56 +08:00
b34383ea74 fix: 重构类型系统 (#79)
Reviewed-on: PostGuard/Canon#79
2024-05-12 14:29:18 +08:00
1908561d31 fix: 调整输出的格式 (#78)
Reviewed-on: PostGuard/Canon#78
2024-05-10 16:45:21 +08:00
ichirinko
f993d49856 添加对while-do语句的支持 (#77)
Co-authored-by: jackfiled <xcrenchangjun@outlook.com>
Reviewed-on: PostGuard/Canon#77
Co-authored-by: ichirinko <1621543655@qq.com>
Co-committed-by: ichirinko <1621543655@qq.com>
2024-05-10 13:52:11 +08:00
Lan_G
160fafef70 misc: 清除冗余的代码
Reviewed-on: PostGuard/Canon#75
Co-authored-by: Lan_G <2911328695@qq.com>
Co-committed-by: Lan_G <2911328695@qq.com>
2024-05-06 00:12:57 +08:00
8da24523c9 refact: 重构代码生成 (#72)
Reviewed-on: PostGuard/Canon#72
2024-05-04 11:56:06 +08:00
6130adfa7c feat: 按照open_set中的示例调整语法 (#71)
添加了构建LR分析表冲突的报错

Reviewed-on: PostGuard/Canon#71
2024-05-01 21:06:27 +08:00
Lan_G
5ca947125b feat-generater (#69)
Reviewed-on: PostGuard/Canon#69
Co-authored-by: Lan_G <2911328695@qq.com>
Co-committed-by: Lan_G <2911328695@qq.com>
2024-04-30 14:43:14 +08:00
911c813996 feat: 在前端显示编译过程中的日志 (#67)
Reviewed-on: PostGuard/Canon#67
2024-04-29 23:55:36 +08:00
ichirinko
4d325569fa fix:修改对递归函数的procedureCall类型检查,在父符号表中寻找id (#66)
Reviewed-on: PostGuard/Canon#66
Co-authored-by: ichirinko <1621543655@qq.com>
Co-committed-by: ichirinko <1621543655@qq.com>
2024-04-29 21:33:09 +08:00
ichirinko
03852ed2bf feat:完成语法树结点的类型检查 (#59)
Co-authored-by: jackfiled <xcrenchangjun@outlook.com>
Reviewed-on: PostGuard/Canon#59
Co-authored-by: ichirinko <1621543655@qq.com>
Co-committed-by: ichirinko <1621543655@qq.com>
2024-04-28 22:02:29 +08:00
17dbcccb59 feat: 语法树的访问者和类型检测访问者 (#56)
Reviewed-on: PostGuard/Canon#56
2024-04-26 10:18:49 +08:00
c0a8e25d45 refact: 重构类型和符号表部分 (#25)
Reviewed-on: PostGuard/Canon#25
2024-04-07 16:10:34 +08:00
Lan_G
ccd1899739 feat: symbol-table & type checker (#14)
Reviewed-on: PostGuard/Canon#14
Co-authored-by: Lan_G <2911328695@qq.com>
Co-committed-by: Lan_G <2911328695@qq.com>
2024-03-16 11:05:38 +08:00