Syntax Highlighter CSS (shCore.css)

Syntax Highlighter CSS (shThemeDefault.css)

Syntax Highlighter JS (shCore.js)

Syntax Highlighter JS (shAutoloader)

Highlight CSS (default.css)

Highlight JS (highlight.pack.js)

Syntax Highlighter CSS (custom.css)

Thursday, May 8, 2008

Fun with the scala interactive shell

Instead of running irb as a calculator, I find myself using the scala interactive shell instead. With the J9 JVM, performance is better, plus you can automatically load files on startup (just like irb). You can also add your own jars to the classpath so they are available in the interactive shell, and automatically load files at startup. Add this to your .bash_profile for the goodness:

export CLASSPATH=$CLASSPATH:/path/to/my/lib.jar
alias iss='scala -i ~/.scalarc'
Post a Comment