Lua compiler written in Haskell