HatParser.hs revision b4fbc96e05117839ca409f5f20f97b3ac872d1ed
module Hatchet.HatParser where
import Haskell.Wrapper
import Haskell.Hatchet.HsSyn
import Haskell.Hatchet.HsParser as HatParser
import Haskell.Hatchet.HsPretty as HatPretty
import Haskell.Hatchet.HsParseMonad
import Common.PrettyPrint
import Common.Lib.Pretty
vcat (map (text . ((++) "\n") . HatPretty.render . ppHsDecl) hsDecls)
r = HatParser.parse s