A quick and hacky fix for main.py to make use of the new Parser object. Also, switched back to using a JSON file for input, can easily be swapped back though.

This commit is contained in:
2020-07-24 11:15:47 -05:00
parent 3cab3f03e8
commit a1c260d0fa
4 changed files with 56 additions and 22 deletions
+3
View File
@@ -5,6 +5,9 @@ class Token:
self.value = value
self.type = type
self.is_negative_variable = is_negative_variable
def __str__(self):
return "Value: %s" %(self.value)
class TokenType:
add = 0