def run(code):
if args.hex:
code = codecs.decode(code.replace(b" ", b""), 'hex_codec')
sys.stderr.write("RUNNING: {} ({} bytes)\n".format(repr(code), len(code)))
ast = lang_ast.AST()
ast.setup(bytearray(code), first=True)
stack = ast.run()
return stack
评论列表
文章目录