
Hi Hossein, I know that Spirit can be used for scanning and lexical analysis, at least that where I use it for. I don't know about the rest, but I guess Spirit will help you out there too. In my little project I use it for parsing XML, HTML and other datafiles. For more info on spirit : http://spirit.sourceforge.net/ If you need a C/C++ parser, you might consider Wave, which uses Spirit, and is highly standard compliant. Hope this helps, Roel.

On Monday 08 March 2004 08:56 am, Roel.Sergeant@pandora.be wrote:
If you need a C/C++ parser, you might consider Wave, which uses Spirit, and is highly standard compliant.
Wave's a preprocessor, not a parser. I expect it will be quite a while before we get a C++ parser ("Tsunami?"). Doug

In fact, there is an open source C++ parser. It is OpenC++. It has a project on sourceforge and a mail list. It is quite cool, and have a LOT of additional features. One of its uses can however be a parser of C++ code. It works on Unix, Windows + cygwin. http://sourceforge.net/projects/opencxx/ Nick P.S. It would be nice if it was part of boost. It could get a little help from the community, since it is a great project and could lead to many tool build on top of it, like code scanners and checkers, debugging aids and so on. The similar closed source product cost a LOT and not many programmers can afford them. -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Douglas Gregor Sent: Monday, March 08, 2004 2:37 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Compiler Generator Tools On Monday 08 March 2004 08:56 am, Roel.Sergeant@pandora.be wrote:
If you need a C/C++ parser, you might consider Wave, which uses Spirit, and is highly standard compliant.
Wave's a preprocessor, not a parser. I expect it will be quite a while before we get a C++ parser ("Tsunami?"). Doug _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Nick,
Thanks for the link! I'll check through it what I want.
Agree! Thanks to all who answered, --Hossein __________________________________ Do you Yahoo!? Yahoo! Search - Find what you�re looking for faster http://search.yahoo.com

What advantage, if any, do you see over Spirit? At Tuesday 2004-03-09 04:59, you wrote:
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"

Hi Roel,
Thanks a lot! It seems to be a big deal in what I want.
If you need a C/C++ parser, you might consider Wave, which uses Spirit, and is highly standard compliant.
Nope! What I need is a parser generator which is written in C++. I think you've provided me what I wanted. Thanks, --Hossein __________________________________ Do you Yahoo!? Yahoo! Search - Find what you�re looking for faster http://search.yahoo.com
participants (5)
-
Douglas Gregor
-
Hossein Haeri
-
Mikołaj Dawidowski
-
Roel.Sergeant@pandora.be
-
Victor A. Wagner Jr.