Create evaluators for literals, list and identifier nodes

This commit is contained in:
Bartłomiej Pluta
2019-07-08 13:39:07 +02:00
parent fd9f240ce5
commit 6e42ac0f91
10 changed files with 166 additions and 53 deletions

View File

@@ -16,10 +16,8 @@ def main():
ast = parse(tokens)
ast.print()
sys.exit(0)
env = createEnvironment()
evaluate(ast, env)