Make access node more generic

This commit is contained in:
Bartłomiej Pluta
2019-07-10 16:51:11 +02:00
parent 823c5cb18f
commit 88b245dc05
15 changed files with 71 additions and 42 deletions

View File

@@ -8,7 +8,7 @@ from smnp.program.interpreter import Interpreter
def main():
try:
stdLibraryEnv = loadStandardLibrary()
Interpreter.interpretFile(sys.argv[1], printTokens=False, printAst=True, baseEnvironment=stdLibraryEnv)
Interpreter.interpretFile(sys.argv[1], printTokens=False, printAst=True, execute=False, baseEnvironment=stdLibraryEnv)
except SmnpException as e:
print(e.message())