Malvina compiler in Scala