"Andrei Alexandrescu" <[EMAIL PROTECTED]> writes: > A very nice Spirit code sample would be the proverbial dogfood that C++ eats > itself. To clarify: > > 1. How about an open-source C++ preprocessor (that takes care of #define and > #include) written in Spirit? Then that preprocessor could be compared with > existing preprocessors in terms of speed and conformance. > > 2. This is the biggie - how about writing a full-fledged C++ parser (with > symbol tables!) in Spirit? Now that would be cool...
That's a work-in-progress, AFAIK. I think once you get a C++ parser you'll probably discover it's not all that useful without something which can represent the type system. And then you pretty much implement the whole template machinery... well, I think you can guess what kind of project that turns into. -- David Abrahams [EMAIL PROTECTED] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost