A pascal compiler for the jvm written in scala