def run_frontend(func):
 func_id = bytecode.FunctionIdentity.from_function(func)
 interp = interpreter.Interpreter(func_id)
 bc = bytecode.ByteCode(func_id=func_id)
 func_ir = interp.interpret(bc)
 post_proc = postproc.PostProcessor(func_ir)
 post_proc.run()
 return func_ir

def run_frontend ( func ) : func_id = bytecode . FunctionIdentity . from_function ( func ) interp = interpreter . Interpreter ( func_id ) bc = bytecode . ByteCode ( func_id = func_id ) func_ir = interp . interpret ( bc ) post_proc = postproc . PostProcessor ( func_ir ) post_proc . run ( ) return func_ir
run the compiler frontend over the given python function .