ammonite-repl

Scala REPL with improved syntax, completions, and scripting

brewmacoslinux
Try with needOr install directly
Source

About

Ammonite is a cleanroom re-implementation of the Scala REPL

Commands

ammonite

Examples

Start an interactive Scala REPL session$ ammonite
Execute a Scala script file$ ammonite script.sc
Run Scala code directly from command line$ ammonite -c 'println("Hello from Scala")'