AST is working!!!!

This commit is contained in:
SpookyDervish
2025-10-13 17:41:07 +11:00
parent 40d695729f
commit 985af13d6a
6 changed files with 219 additions and 6 deletions

View File

@@ -27,6 +27,7 @@ class TokenType(Enum):
LCURLY = "LCURLY"
RCURLY = "RCURLY"
COLON = "COLON"
SEMICOLON = "SEMICOLON"
class Token:
def __init__(self, type: TokenType, literal: Any, line_no: int, position: int) -> None: