def Terminate(params, ctxt, scope, stream, coord): raise errors.InterpExit()
def Exit(params, ctxt, scope, stream, coord): if len(params) != 1: raise errors.InvalidArguments(coord, "1 arguments", "{} args".format(len(params))) error_code = PYVAL(params[0]) raise errors.InterpExit(error_code)