On Saturday 17 January 2009 00:15:46 Steven Michalske wrote: > KISS says > > key = value \n > next key = its value \n > > anything can parse this simple format > > an unknown key is a warning, I don't see how this is any different from: (key value) Except that in the case of using a Scheme-like syntax: 1. The configuration can be loaded directly by a Scheme interpreter's "read" function (and it's likely we'll have a Scheme interpreter available, whether it's Guile or TinyScheme). 2. Value can be an arbitrary data structure, e.g. (key ("this" "is" "a" "list" "of" "strings")) (key (("map" . "some") ("keys" . "to") ("useful" . "values"))) And we get that 'for free', even if we don't use all of its potential initially. 3. The key-value pair can be spread across multiple lines. What you propose is as simple as a Scheme-like syntax, but much less flexible. Peter -- Peter Brett Electronic Systems Engineer Integral Informatics Ltd
Attachment:
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ geda-user mailing list geda-user@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-user