Commit Graph

11 Commits

Author SHA1 Message Date
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
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
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
99fdd6438b add: 这就是完全的Pascal (#11)
5!8!4!个状态堂堂登场!

Co-authored-by: Ichirinko <1621543655@qq.com>
Reviewed-on: PostGuard/Canon#11
2024-03-13 23:58:06 +08:00
duqoo
7ea97ea97e 添加了对部分类型的测试样例,修改添加了NumberSemanticToken 2024-03-13 16:19:07 +08:00
35aec34a8e fix: 正确处理含有空产生式的语法 (#6)
Reviewed-on: PostGuard/Canon#6
2024-03-12 14:52:42 +08:00
6f8fb4c54e add: GrammarBuilder 2024-03-10 15:37:18 +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