Reyes renderer in Scala, based off of Boswell's renderer (http://www.steckles.com/reyes1.html)