This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New C parser [patch]
There was some discussion in this thread about the practicality of
merging the C and C++ front ends.
I think that merging the front ends is a good idea, despite the
arguments about divergence between C99 and C++. I think the commonality
far outweights the differences, and that a C++ compiler ought to support
the full C99 subset to the extent practical. I do not believe it is
nearly as hard as Geoff does, but I do not think it is trivial. Joseph
has proved that (for him) it is relatively easy to do a new C parser; we
have an existence proof.
Further, I think that Joseph's patch is a good idea (for GCC 4.1) in
that I do not think it will make it harder to merge the front ends, and
I do think it will make it easier to work on the C front end until (if
ever) the front ends actually are merged.
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com