experimenting with an implementation of Andrew Plotkin's Glk spec in Scala.