From: boblq <[EMAIL PROTECTED]>
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.
It took me a day or two to get it to work, despite it working perfectly well
across the street at the other division. Ended up being a difference in our
makefiles- we had include once turned on, which broke the clever macro
trick.
> 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.
Hey-- I'm originally a C guy myself. I like C. Using macros like that is
still confusing. Yes, you *can* do it, but its probably better to find
another way. Like using void*.
Gabe
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg