This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ Parser




--On Sunday, June 23, 2002 10:31:58 PM -0400 "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> wrote:


 > 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'm not sure.

The principal improvement will be that we will (hopefully) improve
correctness.  There are certain areas of the C++ language that YACC
is simply incapable of handling easily.

As a side benefit, the code in the C++ front end will become simpler,
even in areas outside the parser.  There is lots of code whose sole
purpose is to recover from things that the parser cannot get right.

Down the road, there are other potential improvements, including better
error-recovery and possibly improved compile-times.  Those, however,
are not objectives of the current effort -- although we will be making
measurements and trying hard to make sure that the new parser doesn't
make the compiler slower.

--
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]