feat: 添加对const关键字的支持,允许定义不可变变量并增强相关错误处理

This commit is contained in:
0264408
2026-06-16 17:24:17 +08:00
parent 284a29a4be
commit c2d6c518fc
8 changed files with 254 additions and 102 deletions
+1
View File
@@ -25,6 +25,7 @@ pub enum TokenKind {
// 关键字
Let,
Const,
Fn,
If,
Else,