Add mult-line support, variable type determination, and variable evaluation to REPL.