summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2007-05-30 11:31:27 +0000
committerLex Spoon <lex@lexspoon.org>2007-05-30 11:31:27 +0000
commit546d98a2bab7d556dcd9ec6a482946c292bc641e (patch)
tree96b543851c133a02d94cde94495aceb99a6036ad /src
parent661a599ed628e1a284bacd20251794b407a0b858 (diff)
downloadscala-546d98a2bab7d556dcd9ec6a482946c292bc641e.tar.gz
scala-546d98a2bab7d556dcd9ec6a482946c292bc641e.tar.bz2
scala-546d98a2bab7d556dcd9ec6a482946c292bc641e.zip
Renamed "interpreter" to "interactive shell" in...
Renamed "interpreter" to "interactive shell" in the output messages.
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/InterpreterLoop.scala10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/InterpreterLoop.scala b/src/compiler/scala/tools/nsc/InterpreterLoop.scala
index 9b1f2f20ac..61f3327a4e 100644
--- a/src/compiler/scala/tools/nsc/InterpreterLoop.scala
+++ b/src/compiler/scala/tools/nsc/InterpreterLoop.scala
@@ -14,8 +14,10 @@ import java.io.IOException
import scala.tools.nsc.util.Position
import nsc.{InterpreterResults=>IR}
-/** The main loop of the command-line interface to the
- * <a href="http://scala-lang.org/" target="_top">Scala</a> interpreter.
+/** The
+ * <a href="http://scala-lang.org/" target="_top">Scala</a>
+ * interactive shell. It provides a read-eval-print loop around
+ * the Interpreter class.
* After instantiation, clients should call the <code>main()</code> method.
*
* @author Lex Spoon
@@ -87,7 +89,7 @@ class InterpreterLoop(in0: BufferedReader, out: PrintWriter) {
/** print a friendly help message */
def printHelp {
- out.println("This is an interpreter for Scala.")
+ out.println("This is a Scala shell.")
out.println("Type in expressions to have them evaluated.")
out.println("Type :help to repeat this message.")
out.println("Type :load followed by a filename to load a Scala file.")
@@ -97,7 +99,7 @@ class InterpreterLoop(in0: BufferedReader, out: PrintWriter) {
/** Print a welcome message */
def printWelcome {
- out.println("This is an interpreter for Scala.")
+ out.println("This is a Scala shell.")
out.println("Type in expressions to have them evaluated.")
out.println("Type :help for more information.")
}