Commit Graph

13 Commits

Author SHA1 Message Date
17dbcccb59 feat: 语法树的访问者和类型检测访问者 (#56)
Reviewed-on: PostGuard/Canon#56
2024-04-26 10:18:49 +08:00
3a584751dc feat: 针对C的代码生成 (#50)
Co-authored-by: Lan_G <2911328695@qq.com>
Reviewed-on: PostGuard/Canon#50
2024-04-21 22:24:35 +08:00
4353fb0c01 fix: 补充一些缺少的关键词 (#49)
Reviewed-on: PostGuard/Canon#49
2024-04-21 17:42:08 +08:00
0fdfef8854 misc: 删除冗余的代码 (#41)
Reviewed-on: PostGuard/Canon#41
2024-04-20 11:48:05 +08:00
4b6635796c refeat: ILexer接口适配 (#38)
Co-authored-by: Huaps <1183155719@qq.com>
Co-authored-by: duqoo <92306417+duqoo@users.noreply.github.com>
Reviewed-on: PostGuard/Canon#38
2024-04-18 16:34:32 +08:00
Huaps
c4189fd1b2 lexical-parser (#15)
add: 词法分析器剩下数字、标识符的细节处理以及错误处理

Co-authored-by: duqoo <92306417+duqoo@users.noreply.github.com>
Reviewed-on: PostGuard/Canon#15
Co-authored-by: Huaps <1183155719@qq.com>
Co-committed-by: Huaps <1183155719@qq.com>
2024-04-04 21:25:11 +08:00
Huaps
fe35288cb5 feat: 词法分析器的基本功能(#12)
Co-authored-by: jackfiled <xcrenchangjun@outlook.com>
Reviewed-on: PostGuard/Canon#12
Co-authored-by: Huaps <1183155719@qq.com>
Co-committed-by: Huaps <1183155719@qq.com>
2024-03-15 12:00:47 +08:00
duqoo
62b97aa3b6 fix:测试 2024-03-13 17:05:07 +08:00
duqoo
7ea97ea97e 添加了对部分类型的测试样例,修改添加了NumberSemanticToken 2024-03-13 16:19:07 +08:00
9930dbc42c feat: 对输入的记号流进行分析 (#4)
添加了语法分析中各个重要状态类的`ToString`方法,方便调试

Reviewed-on: PostGuard/Canon#4
2024-03-11 19:33:02 +08:00
410593f326 add: 操作数的种类 2024-03-10 11:14:52 +08:00
e92b02a208 add: DelimiterSemanticToken and tests 2024-03-09 21:44:37 +08:00
f6a4ad4a44 add: SemanticToken 2024-03-09 21:16:44 +08:00