feat: 添加数组字面量和索引访问功能,更新解析器和解释器以支持数组操作

This commit is contained in:
0264408
2026-04-28 10:14:13 +08:00
parent 5dc55c3476
commit dd3f18da6f
7 changed files with 177 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@ pub enum TokenKind {
// 单字符
LeftParen, RightParen,
LeftBrace, RightBrace,
LeftBracket, RightBracket,
Comma, Semicolon, Dot,
Colon,