def _exprparser(<EOL>expr, scope, lang=None, conf=None, configurable=None,<EOL>safe=DEFAULT_SAFE, besteffort=DEFAULT_BESTEFFORT, tostr=False<EOL>):
if scope is None:<EOL><INDENT>scope = {}<EOL><DEDENT>scope.update({<EOL>'<STR_LIT>': configurable,<EOL>'<STR_LIT>': conf<EOL>})<EOL>expr = REGEX_EXPR_R.sub(<EOL>_refrepl(<EOL>configurable=configurable, conf=conf, safe=safe, scope=scope,<EOL>besteffort=besteffort<EOL>), expr<EOL>)<EOL>result = resolve(<EOL>expr=expr, name=lang, safe=safe, scope=scope, tostr=tostr,<EOL>besteffort=besteffort<EOL>)<EOL>return result<EOL>
In charge of parsing an expression and return a python object.