A C++ preprocessor elegantly using C++ itself (through the Spirit library) would be a terrific statement to the programming community. Well I can't say how good it would be if Spirit would be used to implement a full-blown C++ parser, with symbol tables and all.  If anyone would be interested in embarking on such a project, let me know because I have killer-cool implementation ideas (hints: Variant, Visitor).
 
 
Andrei
----- Original Message -----
From: joel de guzman
To: boost@yahoogroups.com ; Spirit
Sent: Monday, December 03, 2001 3:56 PM
Subject: Re: [boost] Preprocessor workaround for CodeWarrior

Cool Idea!
 
After Hartmut Kaiser sent in his C Parser code using Spirit, there was
some discussion before about writing a C preprocessor also using Spirit.
I'll discuss this matter over with the Spirit folks. Cool!
 
--Joel
----- Original Message -----
From: Andrei Alexandrescu
To: boost@yahoogroups.com
Sent: Tuesday, December 04, 2001 5:31 AM
Subject: Re: [boost] Preprocessor workaround for CodeWarrior

By the way, wouldn't it be nice if boost offered a compliant (and maybe extended) preprocessor implementation written in Standard C++? That wouldn't be, strictly speaking, a C++ library, but I think it would be a good executable.
 
The improved preprocessor could contain things such as #scope, varags for macros, and stuff from the preprocessor library.
 
 
Andrei

Info: http://www.boost.org  Send unsubscribe requests to: <mailto:boost-unsubscribe@yahoogroups.com>

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Info: http://www.boost.org  Send unsubscribe requests to: <mailto:boost-unsubscribe@yahoogroups.com>

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.