\[order fixed - please don't top-post]I'm afraid you've lost me once again. I suffer from small brain condition. I'm not sure if you're for or against the idea of an open source shared parsing engine, and for it, what shape you suggest it take.
Stephen Kellett wrote: Christian M. Cepel
<[EMAIL PROTECTED]> writes
I would assume that such a beast would be written in straight ansiC++ Surely? C is very restrictive in comparison. Writing object based code in C is hard work (read: un-necessary extra code, and lack of type safety) compared to C++.
c to make it available to any present or future operating system
sporting a c compiler, as well as to make it as small and as resource non-intensive as possible.
Resource economy is a non-issue - it's not going to be that big and by the time it's done, any computer that will use it will be much, much bigger and faster than anything now running ABC software.
Java and C# are not worthwhile alternatives. Both quite restrictive because nothing is truly passed as a reference (try modifying a string object you pass in and see if it really was changed after the method call - if it was really passed as a reference it would be). Makes
things trivial in C and C++ a real pain in Java and C#.
But, things relevant to this problem?
Sharing by reference is a great way to make code less maintainable, and parsers don't need to do it, ever.
If they were easier to compile into libraries, SML, Haskell, Lisp or Prolog would be better options - they all have a hell of a lot of accumulated experience in use for parsing refractory syntaxes.
Is this a case of "if the only tool you have is a hammer, every problem looks like a folk singer"?
----------------------------------------------------------------------------- Jack Campin: 11 Third Street, Newtongrange, Midlothian EH22 4PU; 0131 6604760 <http://www.purr.demon.co.uk/jack> * food intolerance data & recipes, Mac logic fonts, Scots traditional music files, and my CD-ROM "Embro, Embro". ------> off-list mail to "j-c" rather than "abc" at this site, please <------
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
I also fail to see the concern with top posting, but then I spoze people must have their pet peeves.
--
//Christian
Christian Marcus Cepel | And the wrens have returned & [EMAIL PROTECTED] icq:12384980 | are nesting; In the hollow of 371 Crown Point, Columbia, MO | that oak where his heart once 65203-2202 573.999.2370 | had been; And he lifts up his Computer Support Specialist, Sr. | arms in a blessing; For being University of Missouri - Columbia | born again. --Rich Mullins
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html