dub: JSON, SDL, YAML, TOML, what color should we paint it ?

0xEAB desisma at heidel.beer
Fri Mar 3 17:47:34 UTC 2023


On Wednesday, 1 March 2023 at 21:20:15 UTC, Steven Schveighoffer 
wrote:
> On 3/1/23 4:04 PM, Mathias LANG wrote:
>> Forgot to answer this. YAML doesn't require any change (well, 
>> almost), because as of v1.30, dub parses dub.json using a YAML 
>> parser. As for configy, I provided a link: 
>> https://github.com/dlang-community/configy
>
> So the benefit of YAML is that you already infected dub with it?
>
> Another benefit of json5 then becomes, we can get rid of the 
> YAML parser!

I wouldn’t phrase it this way, but “we already have a YAML parser 
in place” is not exactly a convincing argument to me either.

Like, JSON + SDL support is already in place as well (and even 
live, so zero effort needed!).


More information about the Digitalmars-d mailing list