#!/usr/bin/env python3 import os, sys sys.path.insert(0, os.path.dirname(sys.argv[0]) + '/..') from Compiler.compilerLib import Compiler compiler = Compiler(split_args=True) compiler.prep_compile(build=False) compiler.execute = True compiler.options.execute = 'emulate' if not compiler.options.binary: compiler.options.ring = compiler.options.ring or '64' compiler.options.keep_cisc = compiler.options.keep_cisc or '' compiler.build() prog = compiler.compile_file() compiler.local_execution()