Scala evaluation engine