-ddump-json

Hécate hecate at glitchbra.in
Fri Jan 29 09:02:32 UTC 2021


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



More information about the ghc-devs mailing list