Expanding Phobos from a flat hierachy

Walter Bright newshound2 at digitalmars.com
Wed Feb 6 13:09:49 PST 2013


On 2/6/2013 6:03 AM, Andrei Alexandrescu wrote:
> This is in a way worse because there's a tidbit of syntax for each element. I'm
> thinking:
>
> spec = "orange";
> version = "1.0.0";
> author = "Jacob Carlborg";
> type = "library";
> files = ["a.d", "b.di"]; // an array of source files

That's close enough to JSON to suggest: why not use JSON syntax?


More information about the Digitalmars-d mailing list