Hacker News new | ask | show | jobs
by hatf0 1513 days ago
As a user of SDLang.. not a huge fan of it, IMO. Dub (the D package manager) uses SDLang as one of the two formats that you can use to configure projects (those two being SDLang and JSON), and I often find myself converting every project to using the JSON format as there is virtually no tooling (in most languages) for parsing SDLang. I've recently started using TOML instead, and I have nothing but good things to say about it.
2 comments

I’m no fan of JSON as a configuration language, but I tried using SDLang with dub and quickly returned to JSON.

Dub would feel slightly (slightly!) more polished if it used a more common package format. TOML would be a good choice.

I honestly don't know why people don't adopt a slightly better json at this point if we're going to invent weird new formats anyways. Some kind of macro language with better syntax would be ahead by miles, and able to plug into anywhere that uses JSON very easily.
Is just the tooling the problem, or have you run into other issues?