On Thu, 14 Sep 2006, martin.peach@sympatico.ca wrote:
As long as the 'xml' is kept simple (no nesting, no dtd lookups) a parser should be doable in tcl, maybe a tcl xml parser already exists(?)
DesireData has two config files, the client-only options being in a file called ".ddrc", which is in Tcl list format, pretty-printed. It works using key-value pairs. It would support any kind of nesting, if any option needed to be stored as a nested-list. This is rather close to the LISP style. It looks like this:
http://pure-data.cvs.sourceforge.net/*checkout*/pure-data/pd/src/defaults.dd...
and this is arguably easier to read and write than XML.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada