On Wednesday 26 October 2005 11:56 am, Gabriel Sechan wrote: > From: boblq <[EMAIL PROTECTED]> > > >UH, duh. Isn't that one of the reasons why Open Source exists? > > > >There are pretty decent parsers out there already, e.g. > > > >expat http://expat.sourceforge.net/ > > Ever used expat?
A long time ago back when it was still being maintained by James Clark. I did not notice anything about it then that was especially annoying or difficult. Just ran right out of the box so I used it. > Using C macros to emulate templates is evil. He,he ... all you guys wanna use C++ eh. My little Monte Carlo Simulator has some pretty evil macros. Using templates to do what we have done for decades before C++ often seems like a very small improvement at high cost. Partly it is just familiarity. It is hard to teach a young dog old tricks though so they whine about macros. I suspect the simulator would be better written in C++ using the STL but I could do it in C far faster and then with the problem understood turn to writing the next one in C++. If I were better at C++, like say Chris is, then I would likely have used it from the get go. I have had some pretty ugly early experiences with C++ and don't care to make a career of it. BobLQ -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
