From 31099835deee4c2d2f17cf2e54da9443c48f44f7 Mon Sep 17 00:00:00 2001 From: SpookyDervish <78246495+SpookyDervish@users.noreply.github.com> Date: Sun, 19 Oct 2025 14:00:44 +1100 Subject: [PATCH] you can use "else" as "unless" --- lexer_token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexer_token.py b/lexer_token.py index 8d6eabd..d8632f9 100644 --- a/lexer_token.py +++ b/lexer_token.py @@ -98,7 +98,7 @@ KEYWORDS: dict[str, TokenType] = { } ALT_KEYWORDS: dict[str, TokenType] = { - + "else": TokenType.UNLESS } TYPE_KEYWORDS: list[str] = ["Int", "Float", "String", "Bool", "List", "Nil", "Func"]