Commit Graph

8 Commits

Author SHA1 Message Date
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