This ripl plugin allows you to evaluate multiple lines of code.