SDLang – Simple Declarative Language
sdlang.org
sdlang.org
It may be a fine language, but it seems like it needs a new name. Maybe 'YAYAML' to highlighting its complexity.
Dub would feel slightly (slightly!) more polished if it used a more common package format. TOML would be a good choice.
I'd guess that someone formulating their own date/time format is actually evidence that they don't understand what a problem it is and so their format is wrong.
[1] https://en.wikipedia.org/wiki/Time_formatting_and_storage_bu...
Rigid definition of time stamps leads to incompatible parsers and risks if you need to update how the timestamp works.
Or, store it as a string and deal with it after parsing.
The latter one always wins, hence json's popularity.
Baking it into the data format isn't going to make people treat timestamps right. Probably will do the opposite, really.
For a generic data language, SDLang has some oddly specific features: distinction between 32-bit and 64-bit integers, single and double floats, arbitrary strings and base64, 3 single-line comment styles, multiple ways to say booleans.
Smells like leaky abstraction, as if the author has ingrained some requirements of the project they've been working on into SDLang rather implementing them in project-specific code.
Another commenter has linked KDL language which seems to have cleaner design, and can even satisfy more typing use cases than SDLang.
JSON especially is incredibly human read/writeable and its relative lack of ambiguity is nearly unparalleled., and it's syntax is minicule. YAML is particularly bad in this regard. XML is usually pretty humanly readable, editable too, and has many fewer of the issues around ambiguity, but I sympathize with the sentiment since it can get's out of hand much more readily.