[GHC] #13190: Add a flag to dump compiler output as JSON

GHC ghc-devs at haskell.org
Fri Jan 27 12:08:12 UTC 2017


#13190: Add a flag to dump compiler output as JSON
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:  mpickering
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3010
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I don't know much about JSON but the basic idea seems good.

 This is just for error messages, right, not for (say `-ddump-simpl`)?

 Perhaps `-ddump-X` isn't the right connotation.  Maybe `-djson-errors`?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13190#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list