Sure. Just use http://hackage.haskell.org/package/haskell-src-meta-0.0.6.

You are probably interested in parsePat or parseExp. I've used parseExp in a package.

-- Oscar