>>>>> "Lele" == Lele Gaifax <[EMAIL PROTECTED]> writes:
Lele> On Thu, 05 Jun 2008 12:13:49 +0200
Lele> Walter Franzini <[EMAIL PROTECTED]> wrote:
Lele> It looks a lot like JSON... if not for the semi-comma ';'
Lele> instead of comma ',' at end of line.
>>
>> I thinks it's more like C.
>>
Lele> Uh? Since when C has a serialization syntax like that?
Lele> Surely you can't feed that text to a plain C compiler :)
similar to C syntax, not exactly the same, but:
* statements ends with ';'
* C-like strings syntax (need to quote " inside strings, line continuation with
\)
* struct like objects initialized with { .... }
it differs since:
* array like object are initialized with [ .... ]
Lele> Taking that format, wrapping it between '{' and '}',
Lele> replacing ';$' with ',', you have JSON_, for which there are
Lele> several parser around.
I will try.
>> I've not yet looked how to access a cpio archive from python.
Lele> There's http://developer.berlios.de/projects/python-cpio/,
Lele> but I think executing raw cpio commands would be enough.
ok
--
Walter Franzini
http://aegis.stepbuild.org/
PGP Public key ID: 1024D/CB3FEB43
Key fingerprint : FA26 C33B CAFF 7848 EFEB 7327 96AA 2D57 CB3F EB43
Key server : http://www.keyserver.net
pgplaO1WkyiE4.pgp
Description: PGP signature
_______________________________________________ Tailor mailing list [email protected] http://lists.zooko.com/mailman/listinfo/tailor
