Haskell compiler for compiler project