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

Walter Bright newshound2 at digitalmars.com
Mon Mar 6 21:32:19 UTC 2023


On 2/28/2023 8:32 AM, Adam D Ruppe wrote:
> I don't want to run D to build, I want to *introspect* D for build info. You can 
> read module names, dependencies (including platform-specific and 
> configuration-specific ones) right out of D code. Author, description, license, 
> etc., have standard ddoc sections in D code.
> 
> Other things dub.json define like flags could easily be a UDA on the module 
> declaration and be pulled out pretty easily by compilers or even relatively 
> basic parsers.

This is a fine idea.



More information about the Digitalmars-d mailing list