On Thu, 14 Feb 2013 20:39:33 +0100 Jacob Carlborg <[email protected]> wrote:
> > On 13 feb 2013, at 21:53, Nick Sabalausky <[email protected]> > wrote: > > > IMO, SDL (Simple Declarative Language, not Simple DirectMedia Layer) > > beats the heck out of even YAML: > > http://sdl.ikayzo.org/display/SDL/Home > > > > It's just trivially simple and obvious with no syntactic noise. I > > had been a proponent of YAML, but my interest in it died completely > > after discovering SDL. YAML has less syntactic noise than JSON, but > > it's kinda complicated. I had started writing a D version of SDL > > last year but then got distracted. Definitely want to get back to > > it though. > > > After a quick glance at that page it looks more complicated than > JSON. I would consider YAML less complicated than JSON. > It's actually very simple. Everything is a tag, which is basically of the form: [namespace:]name [values] [attributes of the form name=value] [{ children }] A basic ini-style list of names/values is just: first "Joe" last "Smith" age 17 addr "123 Road St." This page is probably a better intro: http://sdl.ikayzo.org/display/SDL/Language+Guide _______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
