From: stephan b. <st...@ei...> - 2003-10-01 09:34:54
|
i got bored last night, and instead of doing the right thing and doing one of the following: a) install support for qub b) refactoring s11n to fit more nicely into libfun i wrote another serialization parser/outputter pair. The format looks like this: somenode=(NoClass (a \)\\b) (foo bar) (long this is a long property) fred=(FredClass (key value)) wilma=(WilmaClass (the lovely wife)) betty=(BettyClass (value the apple of Barney's eye)) deep=(Foo deeper=(Foo (how_deep really deep!) and_deeper=(Ouch)) ) It generally provides notably smaller files than funxml/txt, particularly on large data sets, largely (no pun intended) due to it's lack of "class=". (With compressed files there is no remarkable size difference.) i'm still not 100% happy with how these parsers are integrated into the framework. It's not too painful to do, i'm just generically not terribly happy with it, so i'm looking for a cleaner solution. Just for future reference, it took only about 3 hours to write the parser/outputter and completely integrate them into the lib. -- ----- st...@ei... - http://www.einsurance.de "... NOT because we are America's poodle ..." Tony Blair, 30.9.2003 |