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

ryuukk_ ryuukk.dev at gmail.com
Wed Mar 1 21:21:02 UTC 2023


On Wednesday, 1 March 2023 at 21:02:05 UTC, Mathias LANG wrote:
> On Wednesday, 1 March 2023 at 14:21:12 UTC, Steven 
> Schveighoffer wrote:
>>
>> It hasn't sailed for dub. Neither json nor sdl require 
>> significant white space.
>
>
> I meant that the argument, in general, has been debunked. Also, 
> SDL has significant whitespace in how it treats newlines.
>
>> We will never be rid of SDL. Remember that dub has to not only 
>> parse the current config, but all tagged configs. Updating all 
>> old projects, and all previous tags of old projects, is not 
>> going to happen.
>
> That's a problem we can work around, but having code to convert 
> from SDL to YAML/JSON. We're already doing this (accidentaly) 
> when downloading a package.

Couldn't it convert the file on the fly when it downloads 
dependency?

It's just data at the end of the day



More information about the Digitalmars-d mailing list