Add eval-last-scala-expr function.