<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def eval(source, kwd_dict=None, **kwds):
 """Evaluate a snuggs expression. Parameters source : str Expression source. kwd_dict : dict A dict of items that form the evaluation context. Deprecated. kwds : dict A dict of items that form the valuation context. Returns ------- object """

    kwd_dict = kwd_dict or kwds
    with ctx(kwd_dict):
        return handleLine(source)