August 2018
Intermediate to advanced
380 pages
10h 2m
English
Although Scala is a compiled language, it has its own interpreter. It comes as part of the standard language distribution, and if you install Scala, you will have access to it. Please consult https://www.scala-lang.org/ on the instructions to install Scala.
You can access the interpreter from the command line by simply typing scala.
In this interpreter, you can run Scala expressions and get evaluations of them in real time. Besides ordinary expressions, you can run interpreter-specific expressions to tune it up. This kind of expression usually starts with a colon followed by a keyword. To access the list of all the relevant Scala interpreter expressions, type the following command:
:help
The output of the preceding command ...