From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 492 invoked by alias); 25 Oct 2004 22:22:14 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 408 invoked from network); 25 Oct 2004 22:22:12 -0000 Received: from unknown (HELO mail-out4.apple.com) (17.254.13.23) by sourceware.org with SMTP; 25 Oct 2004 22:22:12 -0000 Received: from mailgate1.apple.com (a17-128-100-225.apple.com [17.128.100.225]) by mail-out4.apple.com (8.12.11/8.12.11) with ESMTP id i9PMRJUD021744 for ; Mon, 25 Oct 2004 15:27:20 -0700 (PDT) Received: from relay3.apple.com (relay3.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.3.14) with ESMTP id ; Mon, 25 Oct 2004 15:22:16 -0700 Received: from [17.201.24.57] (polskifiat.apple.com [17.201.24.57]) by relay3.apple.com (8.12.11/8.12.11) with ESMTP id i9PMLsxb018125; Mon, 25 Oct 2004 15:21:55 -0700 (PDT) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <42A6DEB0-26D4-11D9-9558-000D9330C50E@apple.com> Content-Transfer-Encoding: 7bit Cc: gcc-patches@gcc.gnu.org From: Ziemowit Laski Subject: Re: New C parser [patch] Date: Mon, 25 Oct 2004 22:33:00 -0000 To: "Joseph S. Myers" X-SW-Source: 2004-10/txt/msg02110.txt.bz2 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