From: David Abrahams (dave_at_[hidden])
Date: 2002-11-07 21:47:31
"Andrei Alexandrescu" <andrewalex_at_[hidden]> 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 dave_at_[hidden] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk