Commit Graph

4 Commits

Author SHA1 Message Date
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
bd3db1b7b7 feat: 添加语法分析基类抽象 (#8)
增加语法分析基类和状态转换接口抽象,为直接生成语法分析器做准备,同时也提前释放一些大对象,降低内存消耗。

Reviewed-on: PostGuard/Canon#8
2024-03-13 16:41:44 +08:00
35aec34a8e fix: 正确处理含有空产生式的语法 (#6)
Reviewed-on: PostGuard/Canon#6
2024-03-12 14:52:42 +08:00
Ichirinko
7de5ce8f28 add:增加了包含空产生式的测试用例 (#2)
增加了包含空产生式的测试用例

Co-authored-by: jackfiled <xcrenchangjun@outlook.com>
Reviewed-on: PostGuard/Canon#2
Co-authored-by: Ichirinko <1621543655@qq.com>
Co-committed-by: Ichirinko <1621543655@qq.com>
2024-03-11 22:22:53 +08:00