[dmd-beta] D 2.062 beta
Leandro Lucarella
luca at llucax.com.ar
Thu Feb 14 17:47:48 PST 2013
Nick Sabalausky, el 14 de February a las 16:39 me escribiste:
> On Thu, 14 Feb 2013 20:39:33 +0100
> Jacob Carlborg <doob at me.com> wrote:
>
> >
> > On 13 feb 2013, at 21:53, Nick Sabalausky <bus_dmdbeta at semitwist.com>
> > 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."
Why wouldn't you keep using the ini format then?
--
Leandro Lucarella (AKA luca) http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
If you want to be alone, just be alone
If you want to watch the sea, just watch the sea
But do it now, timing is the answer, do it now
Timing is the answer to success
More information about the dmd-beta
mailing list