Cool language compiler written in Haskell