Chris Baus

SFRP configuration file format

I'm working on a new configuration file format for SFRP, which could be useful for other projects. Using XML is overkill and requires an external dependency on libxml2. XML is fine for marking up documents, but I'm not convinced it is the end all of structured data. It is has at least one significant drawback: the begin/end tag format makes it impossible to partially validate an XML document, but that's a discussion for another day.

The format will look something like this:

key=value
compoundkey.subkey=value
keyarray[0]=value
keyarray[1]=value2
compoundkeyarray[0].subkey=value
compoundkeyarray[1].subkey=value