This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ Parser
"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:
| > Mark Mitchell wrote:
| >
| > CodeSourcery is now once again going to be working on the new C++
| > parser, with the objective of getting it into GCC 3.3.
|
|
| Just curious, did you at any point post a summary of the improvements
| this work is intended to provide us?
I think the GNATS database contains numerous examples of problems much
more easily and robustely solved by the new parser.
My impression, after looking at the new parser, is that it
contains much better infrastructures needed for better parsing of
C++ source codes, handling of extensions, clean separation (where
possible) between proper semantics analysis and parsing.
In the past, the new parser helped us catch some oddities in our
implementation of the standard library. That isn't intended to
be an illustrative example of the benefits we gain, but I think it
tends to support the idea that we'll get a better parser.
-- Gaby