diff options
Diffstat (limited to 'structs.py')
| -rw-r--r-- | structs.py | 27 |
1 files changed, 2 insertions, 25 deletions
@@ -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() |
