Am 26.09.2013 15:35, schrieb Chad Joan: > On Tuesday, 10 September 2013 at 20:48:58 UTC, Andrei Alexandrescu wrote: >> We've been experimenting with http://code.dlang.org for a while and >> things are going well. In particular Sönke has been very active about >> maintaining and improving it, which brings further confidence in the >> future of the project. >> >> We're considering making dub the official package manager for D. What >> do you all think? >> >> >> Andrei > > I hate to be /that guy/, but... > > Sönke, have you considered using TOML as an editable > serialization/configuration format? > https://github.com/mojombo/toml > > It's easy on the eyes, has a simple grammar, and seems to have at least > /some/ buy-in from other communities. > > I'm just not sure if it has all of the features you desire; you would > know better than I.
I think as a configuration format that makes a lot of sense. However, it looks like it may get tricky/impossible to define lists of complex entities, such as for the "configurations" section. Also SDL has the not to be underestimated advantage of allowing the repeated use of the same tag to define lists, which cuts down the nesting level by one for each such list, or allows to define constructs that have a more imperative feel to them (rather than purely declarative). Maybe the example [1] could also be adjusted for TOML to get a better feeling for it, though. [1]: http://forum.rejectedsoftware.com/groups/rejectedsoftware.dub/thread/2/