The Scala REPL is a tool (scala) for evaluating expressions in Scala.
The scala command will execute a source script by wrapping it in a template and then compiling and executing the resulting program.
This is a companion discussion topic for the original entry at http://docs.scala-lang.org//overviews/repl/overview