This is the mail archive of the gcc-patches@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: New C parser [patch]


Sorry for not responding sooner, but I do have one question:

On 22 Oct 2004, at 16.56, Joseph S. Myers wrote:

This patch serves to provide a recursive-descent parser (facilitating
OpenMP, etc.) within reasonably forseeable time, unlike other
alternatives such as "merge the C and C++ front ends".

I'm just curious as to why you think that writing a C parser from scratch is
easier than tweaking Mark's parser to handle C.


I'm asking because merging the front-ends would allow ObjC/ObjC++ to be
simplified _tremendously_: we will be able to utilize C++ machinery
to implement ObjC subclassing and access control, not to mention a
more sensible interaction of ObjC objects with C++ EH and RTTI.

Thanks,

--Zem


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