Provide file format specification?
I have a question regarding the Gnome GVariant Database file format: Is there a file format specification somewhere or at least a description of the GVDB file format? The reason I am asking is because I wanted to write an alternative parser for this format, but use the MIT license instead of the GPL. However, this means that I cannot look at the source code for reference - which wouldn't even help me, since the source code is also completely uncommented. So even if I would use it as a reference, it wouldn't help me much since the code is fairly involved and rather cryptic in nature, I simply don't understand how the file is structured.
So this would lead me towards having to reverse-engineer an open-source database format, which is kind of pointless. Since GVDB is a binary format - if there can only ever be one implementation of the parser with no specification of the file format, then the format might as well be proprietary.
The reason I wanted to write this parser in the first place was mostly to have access to the GSettings database without using or relying on any Gnome libraries - I wanted to see if this would be possible. Thanks in advance for any help.