JPMoresmau / error-analyze

Haskell project to parse GHC and Cabal error messages
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Create data structure to capture errors #1

Open alanz opened 8 years ago

alanz commented 8 years ago

Silly issue title, but it would be great if we can look at the data structures you end up with and use them to understand what changes need to happen to GHC/Cabal to be able to emit them directly

alanz commented 8 years ago

See also https://github.com/commercialhaskell/stack-ide/blob/c7af3770cdbe5550094e65de12358db2a5b191ce/stack-ide/src/Stack/Ide/AnnotateMessage.hs

mgsloan commented 8 years ago

Agreed, I also wrote that error message regexer with that in mind - that eventually GHC will provide such info without it needing to be parsed out.