A core interpreter for a very simple functional language, written in Scala