evaluate_expression
that takes the expression string and the current scope as arguments.let
, parse variable assignments and update the scope, then evaluate the last expression with the updated scope.add
, evaluate both operands and return their sum.mult
, evaluate both operands and return their product.