On Wed,Jan 05, 2011 at 06:23:36PM +0200, ik wrote: > I'm looking for a setting parser for something like this: > ------- snips ----- > [foo](!) > bar => 1 > baz = fff ; comment > > ; comment > #include "file" > #include => "section" > > ------- snips -------- > > Before I'll do this the hard way and write something for myself, is there > something like that existed already, or even something that implement part > of it, so I could based my code on it instead of writing one for myself ?
Really brave people try http://www.stack.nl/~marcov/files/conffile.zip It is a really old experiment of mine making one parser read many kinds of files. (unix password files, ini files (with additions and modifications), apache/golded keyword based files etc) It's pretty much "my first OOP", so be careful, but I'm still surprised how far I got. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
