-ddump-json

Richard Eisenberg rae at richarde.dev
Fri Jan 29 19:45:30 UTC 2021


I have filed https://gitlab.haskell.org/ghc/ghc/-/issues/19278 <https://gitlab.haskell.org/ghc/ghc/-/issues/19278> to try to get this sorted. Thanks for the quick responses!

Richard

> On Jan 29, 2021, at 4:02 AM, Hécate <hecate at glitchbra.in> wrote:
> 
> Do we provide any kind of versioning or data schema for the JSON dumps?
> 
> On 29/01/2021 09:57, Matthew Pickering wrote:
>> Just grepping Github there appears to be a few users of the flag but
>> no more than a handful. I think you can probably change it how you
>> like.
>> 
>> Cheers,
>> 
>> Matt
>> 
>> On Thu, Jan 28, 2021 at 8:20 PM Richard Eisenberg <rae at richarde.dev> wrote:
>>> Hi devs,
>>> 
>>> In my work with Alfredo at revising our error message infrastructure, we ran across some code that renders error messages as JSON. Given that our data structures are changing, it seems natural to change the JSON output, too, but it's unclear whether that's wise. The manual currently lists -ddump-json in the chapter on "Debugging the compiler", suggesting that a change is fine, but I'm not yet convinced.
>>> 
>>> So:
>>>  - Is there someone in charge of -ddump-json? Matthew Pickering authored -ddump-json in https://gitlab.haskell.org/ghc/ghc/-/commit/91691117fc194c525f58ccd5b266dd1d10493e5a.
>>>  - Are there clients of -ddump-json?
>>>  - Is there a specification of -ddump-json?
>>>  - There will likely be a desire to evolve this feature. What is the process for doing so?
>>> 
>>> Thanks!
>>> Richard
>> _______________________________________________
>> ghc-devs mailing list
>> ghc-devs at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
> 
> -- 
> Hécate ✨
> 🐦: @TechnoEmpress
> IRC: Uniaika
> WWW: https://glitchbra.in
> RUN: BSD
> 
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20210129/53ba2d65/attachment.html>


More information about the ghc-devs mailing list