Commit Graph

14 Commits

Author SHA1 Message Date
9930dbc42c feat: 对输入的记号流进行分析 (#4)
添加了语法分析中各个重要状态类的`ToString`方法,方便调试

Reviewed-on: PostGuard/Canon#4
2024-03-11 19:33:02 +08:00
46c4a5e5ea refact: 合乎代码规范 2024-03-11 11:40:06 +08:00
9984cee920 refact: 将Compiler类移动到Canon.Console中 2024-03-11 11:40:06 +08:00
Huaps
1a2ebde4a2 Merge branch 'master' of git.rrricardo.top:PostGuard/Canon 2024-03-10 19:48:57 +08:00
Huaps
95ff2233c1 写了一下lexer 2024-03-10 19:48:34 +08:00
ff0b183f4f add: Grammar builder test with a simple gramma. 2024-03-10 19:05:28 +08:00
6f8fb4c54e add: GrammarBuilder 2024-03-10 15:37:18 +08:00
58da63e41a add: Terminator Tests 2024-03-10 12:06:27 +08:00
94622f5796 add: LrState 2024-03-10 11:22:19 +08:00
410593f326 add: 操作数的种类 2024-03-10 11:14:52 +08:00
8d30b1626b add: Terminator and Expression 2024-03-09 23:57:43 +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
01cbcac8ef init: repo 2024-03-09 20:11:27 +08:00