From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: CEDET merge question Date: Sun, 06 Sep 2009 01:08:45 +0200 Message-ID: <87ab19j8g2.fsf@engster.org> References: <87eiql2w5s.fsf@cyd.mit.edu> <87iqfx5ms9.fsf@engster.org> <87iqfxru3v.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252192144 7678 80.91.229.12 (5 Sep 2009 23:09:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Sep 2009 23:09:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 06 01:08:57 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mk4NM-0000hX-FQ for ged-emacs-devel@m.gmane.org; Sun, 06 Sep 2009 01:08:56 +0200 Original-Received: from localhost ([127.0.0.1]:49645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mk4NL-0000sl-Tp for ged-emacs-devel@m.gmane.org; Sat, 05 Sep 2009 19:08:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mk4NG-0000qr-O7 for emacs-devel@gnu.org; Sat, 05 Sep 2009 19:08:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mk4NG-0000qa-8E for emacs-devel@gnu.org; Sat, 05 Sep 2009 19:08:50 -0400 Original-Received: from [199.232.76.173] (port=46335 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mk4NG-0000qX-2i for emacs-devel@gnu.org; Sat, 05 Sep 2009 19:08:50 -0400 Original-Received: from m61s02.vlinux.de ([83.151.21.164]:37251) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mk4NF-00076o-NM for emacs-devel@gnu.org; Sat, 05 Sep 2009 19:08:49 -0400 Original-Received: from dslc-082-082-177-159.pools.arcor-ip.net ([82.82.177.159] helo=void) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1Mk4NC-0005pd-U7; Sun, 06 Sep 2009 01:08:47 +0200 In-Reply-To: <87iqfxru3v.fsf@cyd.mit.edu> (Chong Yidong's message of "Sat, 05 Sep 2009 16:53:40 -0400") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115061 Archived-At: Chong Yidong writes: > Do you know if the bovine and wisent parsers are mutually replacable? > For instance, the default parser seems to be bovine; would it be a big > deal if we included just the bovine parser? I don't think it makes much sense to include just the Bovine parser. If you look at http://cedet.sourceforge.net/languagesupport.shtml you'll see the currently supported languages in CEDET, together with their current status regarding completion, project support etc.. The grammar column shows the type of grammar, "LL" or "LALR". The former is done with Bovine/Bison, the latter with Wisent. So Bison isn't really the default, but it's the older one, and especially the C/C++ support is pretty stable by now (there's also a Wisent parser for C, but it doesn't support C++ and AFAIK is currently not used). Some of the Wisent grammars are in the contrib directory, which probably means they basically work, but lack further infrastructure in Semantic. But I think the Wisent grammars work pretty much the same as the Bison ones, i.e., during CEDET's compilation a file 'wisent--wy.el' file is created, which contains the actual parser. -David