[Semi-OT] Sdlang Initiative

surlymoor surlymoor at cock.li
Thu Sep 9 01:47:15 UTC 2021


On Thursday, 9 September 2021 at 01:20:24 UTC, James Blachly 
wrote:
> I have finally come around to TOML as the best alternative for 
> human-centered configuration. It seems to be really popular in 
> Rust ecosystem.
>
> I see 3 D libraries; haven't tested them but will with my next 
> D project: https://code.dlang.org/search?q=toml

I was using `toml-foolery` for one of my projects. It's quite 
nice; however, there might be too many dependencies for some 
people, and a `RangeError` will be thrown up to you during 
parsing if there's an empty string for a key's value. While the 
latter is probably easy to remedy, I switched to using JSON since 
`asdf` was already a dependency, and I'm lazy. Still, a big 
thanks to Andrej for the work.


More information about the Digitalmars-d-announce mailing list