First version with all variables calculated in a token list. 'Factor Engine' starts here.

This commit is contained in:
2020-04-20 00:19:49 -05:00
parent 0d7fe94942
commit 08bb51d68e
2 changed files with 16 additions and 6 deletions
+5
View File
@@ -82,3 +82,8 @@ def replace_variables(tokens, new_constants):
newTokenList.append(token.Token(t.value, t.type))
return newTokenList
def print_token_list(tokens):
for tk in tokens:
print(tk.value, end = "")
print()