aboutsummaryrefslogtreecommitdiff
path: root/structs.py
diff options
context:
space:
mode:
Diffstat (limited to 'structs.py')
-rw-r--r--structs.py27
1 files changed, 2 insertions, 25 deletions
diff --git a/structs.py b/structs.py
index 02693be..1956c4b 100644
--- a/structs.py
+++ b/structs.py
@@ -7,8 +7,6 @@ from typeclass import TypeEnum
# NOTE: this can probably be simplified
class TokenType(Enum):
- PRINT = auto()
-
OPEN_PAREN = auto()
CLOSE_PAREN = auto()
@@ -21,33 +19,12 @@ class TokenType(Enum):
TRUE = auto()
FALSE = auto()
- # arithmetic
- PLUS = auto()
- DASH = auto()
- STAR = auto()
- SLASH = auto()
-
- # strings
- DOUBLE_QUOTE = auto()
-
- # comparison
- GREATER = auto()
- GREATER_EQUAL = auto()
- LESS = auto()
- LESS_EQUAL = auto()
- EQUAL = auto()
- NOT = auto()
- AND = auto()
- OR = auto()
-
- # flow
+ # keywords
IF = auto()
FOR_COUNT = auto()
- PIPE = auto()
-
- # keywords
DEF = auto()
LAMBDA = auto()
+ FUNC = auto()
# symbols
SYMBOL = auto()