Brian Rosner wrote, On 24/04/07 10:11:
> I am +1 on the revised YAML mixed with current 0.6 approach. Its
> very simple and pretty straightfoward. It can be compiled fairly
> easily in both directions. The only thing I don't like is the use
> of ! as a delimiter (My main complaint about the new format). It is
> too small of a character to easily distinguish between the two
> sides. I'd propose a dot, but that wouldn't work with vserver
> names. I'd like to see it be (->). No parenthesis. Yeah, I pulled
> that right out of PHP object notation ;) It helps separate the two
> sides much more (would look better with syntax highlighting) and is
> just better to read. I like the use of whitespace as its very
> Pythonic.
There is a problem with the Yaml proposal I sent.. I made a mistake
by not using lists. It seems that the examples I sent were not
correct.
For instance, in the following example, "server" should be either a
dictionary or "port" and "timeout" be inside a list.
====
server:
port = 80
timeout = 60
====
Gunnar, is this correct? Could you please clarify it?
--
Greetings, alo.
_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee