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: Sat, 05 Sep 2009 19:22:46 +0200 Message-ID: <87iqfx5ms9.fsf@engster.org> References: <87eiql2w5s.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 1252171392 24913 80.91.229.12 (5 Sep 2009 17:23:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Sep 2009 17:23:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 05 19:23:05 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 1Mjyye-0007FD-J4 for ged-emacs-devel@m.gmane.org; Sat, 05 Sep 2009 19:23:04 +0200 Original-Received: from localhost ([127.0.0.1]:42662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mjyyd-0007l7-Rq for ged-emacs-devel@m.gmane.org; Sat, 05 Sep 2009 13:23:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MjyyW-0007kJ-Ds for emacs-devel@gnu.org; Sat, 05 Sep 2009 13:22:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjyyU-0007iu-Dj for emacs-devel@gnu.org; Sat, 05 Sep 2009 13:22:56 -0400 Original-Received: from [199.232.76.173] (port=51124 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjyyU-0007ig-2Y for emacs-devel@gnu.org; Sat, 05 Sep 2009 13:22:54 -0400 Original-Received: from m61s02.vlinux.de ([83.151.21.164]:60415) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MjyyS-0003ru-OU for emacs-devel@gnu.org; Sat, 05 Sep 2009 13:22:53 -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 1MjyyP-00017Q-39; Sat, 05 Sep 2009 19:22:49 +0200 In-Reply-To: <87eiql2w5s.fsf@cyd.mit.edu> (Chong Yidong's message of "Sat, 05 Sep 2009 12:28:31 -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:115054 Archived-At: Chong Yidong writes: > The Semantic parser appears to have two major "back-ends", bovine and > wisent, which are used to generate Semantic tags. Does anyone know how > crucial these packages are, and whether one or the other (or both) be > dropped or somehow trimmed down? I think it depends on the question if people should be able to edit and compile the grammars itself, only using Emacs proper. The bovine/wisent parsers and major-modes are crucial for development, but I think they are not necessarily needed for the resulting parser; I may be wrong though, especially when it comes to the Wisent parser, which I'm not familiar with at all. For example, the file semantic/bovine/c.by is the Bison grammar for C/C++ parsing. During CEDET's make process, the 'bovine' code generates the file semantic/bovine/semantic-c-by.el, which is the resulting C(++) lexer in Emacs Lisp. This file is then required by semantic-c.el. Therefore, I would think that including the resulting semantic-c-by.el should be enough for the C parser to be working. As mentioned above, there are also the major-modes for bison/wisent in CEDET (bovine-grammar.el, wisent-grammar.el) which are needed for writing and debugging the grammar files. I think those would also not necessarily be needed in Emacs. However, if people would like to extend or fix grammar files (or write new ones), they would then have to get CEDET from CVS. > (Wisent, for instance, appears to be an entire Elisp reimplementation > of Bison...) Yes, it is exactly that. :-) Regards, David