Subject: Re: XML config file
To: None <tech-userlevel@netbsd.org>
From: Jed Davis <jdev@panix.com>
List: tech-userlevel
Date: 07/28/2006 22:40:35
Iain Hibbert <plunky@rya-online.net> writes:

> Although I think a standardised configuration format and parser is a
> desireable thing, and I'm happy with the tree structure, I think
> that the lack of readability in XML is a major concern.
>
> Simplistically,
>
> item1 {
> 	key1	"string";
> 	key2	0x33;
> 	key3	[
> 		0x33;
> 		"string";

That bears a vague resemblance to the old NeXTish text plist format,
from before all this XML stuff came along.

-- 
: callcc r> swap >r ; : p1 s" JdDvs" drop r> begin swap dup c@ emit
1+ swap callcc again ; : p0 s" e ai" p1 begin 2swap ?dup while over
c@ emit 1 -1 d+ 2swap callcc repeat cr drop 2drop ; p0