>>What problem does that solve which a simple format doesn't solve? 

> I don't know.

> I`m putting something on the table, in case a simple file format not feet our cross-platforms needs.

> How do we know if a simple file format is all we need?

Because keys, values, and key/value pairs in the Pd preferences are themselves
simple:

keys: ascii string containing no spaces

values: number, numbers separated by whitespace, ascii string with no
whitespace, and file paths.

Finally, the key/value pairs in Pd preferences are simple enough that there isn't a
need to nest key/value pairs inside other key/value pairs.

You would spend more time figuring out how to parse the XML tags in
C than you would parsing the actual data contained in them.

-Jonathan

> If a simple one is enough, better, btw.


Mensaje telepatico asistido por maquinas.



From: Jonathan Wilkes <jancsika@yahoo.com>
Sent: Sunday, February 19, 2017 3:01 PM
To: Lucas Cordiviola; pd-list@lists.iem.at
Subject: Re: [PD] (wip) Preferences file.
 
>> XML is overkill for something as simple as a preferences file.



> That is right.

> But all characters, tabs, lf/cr or what ever con be hold inside <whatwewant> </whatwewant>

What problem does that solve which a simple format doesn't solve?

-Jonathan

> It could be a pseudo parser.


> Mensaje telepatico asistido por maquinas.