New Lib: SDLang-D v0.8.2 - Like JSON/XML, But Nicer


I wasn't able to announce it here before, due to this CMS's latest cock-up, so this is late, but here goes:

SDLang-D is D library to read/write SDL (Simple Declarative Language). SDL is a data language like XML , JSON, or YAML, except it's less verbose, type-aware and easy to read.

This is what SDL looks like (some of these examples, and more, are from the SDL site):

// Tags with one value first "Joe" last "Coder" // Tags with multiple values numbers 12 53 2 635 names "Sally" "Frank N. Stein" // Tag with multiple attributes pets chihuahua="small" dalmation="hyper" mastiff="big" // Values come before attributes mixed 34.7f "Tim" somedate=2010/08/14 // Child tags (nestable to arbitrary depths) myNamespace:person name="Joe Coder" { age 36 }

The initial release was v0.8.1, but the latest version is v0.8.2.

SDLang-D Homepage

Leave a comment

Captcha