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

Chris Piker chris at hoopjump.com
Sat Mar 4 22:33:33 UTC 2023


On Tuesday, 28 February 2023 at 14:29:28 UTC, Mathias LANG wrote:
> Currently, Dub uses two formats: JSON and SDL.
...
> But JSON is a terrible format to write configurations in, given 
> how verbose it is, and it lacking support for comments.
...
> Obviously such a change would not happen overnight, and would 
> need broad support from the community. Opinions ?

Anything than supports comments would we welcomed by me.  
Adopting Json5 seems like the least painful.

Also, putting the build information into the source is what I do 
most of the time anyway, then calling `dub build --single` from a 
makefile.





More information about the Digitalmars-d mailing list