From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: CEDET, DL & parsing thoughts (was Re: Release plans) Date: Sat, 30 Aug 2008 04:24:19 +0200 Message-ID: <48B8AF53.8040501@gmail.com> References: <200808300153.m7U1rAxA027402@projectile.siege-engine.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220063084 19678 80.91.229.12 (30 Aug 2008 02:24:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Aug 2008 02:24:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Eric M. Ludlam" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 30 04:25:38 2008 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 1KZG9g-0003IF-RO for ged-emacs-devel@m.gmane.org; Sat, 30 Aug 2008 04:25:37 +0200 Original-Received: from localhost ([127.0.0.1]:39562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZG8i-0006AH-7T for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2008 22:24:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZG8d-0006A3-Nt for emacs-devel@gnu.org; Fri, 29 Aug 2008 22:24:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZG8Z-00069U-CI for emacs-devel@gnu.org; Fri, 29 Aug 2008 22:24:30 -0400 Original-Received: from [199.232.76.173] (port=41575 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZG8Z-00069R-9M for emacs-devel@gnu.org; Fri, 29 Aug 2008 22:24:27 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:60827) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KZG8Y-0000DA-UU for emacs-devel@gnu.org; Fri, 29 Aug 2008 22:24:27 -0400 Original-Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:63173 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KZG8X-0000bn-3x; Sat, 30 Aug 2008 04:24:25 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <200808300153.m7U1rAxA027402@projectile.siege-engine.com> X-Enigmail-Version: 0.95.7 X-Antivirus: avast! (VPS 080829-0, 2008-08-29), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1KZG8X-0000bn-3x. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KZG8X-0000bn-3x d75ba7815f3713eb1d73db368d74a24b X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:103241 Archived-At: Eric M. Ludlam wrote: > This is in effect what is in CEDET/Semantic now but without the DL. I > had made a replacement for flex, but more Emacs Lisp centric, and > David Ponce ported bison into Emacs Lisp directly. This bison port > supports incremental parsing, full parsing, reparsing, and is quite > fast, though not nearly as fast as actual flex/bison/c code. > > I would assume the concepts in David Ponce's wisent parser generator > could be back-ported into Bison if desired. So (if I understand currectly from the little I know about this), a bit sadly, if there were sutiable flex and bison dlls these could be used instead (if Davids specials were backported too) and would be quite a bit faster. This does not relate to the general question of loading dll:s. This is a special case that I suppose Richard would approve. (I have no idea, but I guess there are no flex and bison dlls availabe, or are there?) However for new languages all this requires also writing language specific bison grammars. Is this perhaps be a big job that just a few person have insight in how to do? > When I started, I really wanted to have a single generic parsing > infrastructure that could do indentation, coloring, and tagging. nxml-mode does that, but on its own of course. > Once CEDET is merged into Emacs, I hope to examine some of the speed > issues with others who know more what Emacs' internals are like. (As > an FYI, all of CEDET's papers should now be in order for this.) Great. Then we can hope for that it is easy to get started using CEDET. > Thanks > Eric >