From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: A yacc/bison that outputs elisp? Date: Mon, 28 Mar 2005 12:31:32 -0500 Message-ID: References: <5065e2900503280609880db7b@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112031604 25145 80.91.229.2 (28 Mar 2005 17:40:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Mar 2005 17:40:04 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 28 19:40:02 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DFyD1-0007nP-Gb for ged-emacs-devel@m.gmane.org; Mon, 28 Mar 2005 19:39:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DFyT9-0008O7-MG for ged-emacs-devel@m.gmane.org; Mon, 28 Mar 2005 12:56:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DFyRx-00088l-E2 for emacs-devel@gnu.org; Mon, 28 Mar 2005 12:54:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DFyRr-00085L-Gj for emacs-devel@gnu.org; Mon, 28 Mar 2005 12:54:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DFyRr-00083N-2J for emacs-devel@gnu.org; Mon, 28 Mar 2005 12:54:47 -0500 Original-Received: from [206.47.199.141] (helo=simmts12-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DFy5N-0001fY-Jr for emacs-devel@gnu.org; Mon, 28 Mar 2005 12:31:33 -0500 Original-Received: from empanada.home ([70.49.83.30]) by simmts12-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050328173133.MSFT1542.simmts12-srv.bellnexxia.net@empanada.home>; Mon, 28 Mar 2005 12:31:33 -0500 Original-Received: by empanada.home (Postfix, from userid 502) id 6AF6E4C9C3C; Mon, 28 Mar 2005 12:31:32 -0500 (EST) Original-To: Sun Yijiang In-Reply-To: (Stefan Monnier's message of "Mon, 28 Mar 2005 09:58:25 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) 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:35260 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35260 >> Is that possible? Anyone had the same thoughts? I think it would be >> very very useful for an editor to have such syntax-specific parsing >> ability. > There's a package out there that does just that (IIRC it uses bison and > post-processes the C output to turn it in to elisp). > Can't remember the name, tho, It's called "scanner.el" and written by John Wiegley (famous for several other Emacs packages). Look for it on gnu.emacs.sources, Stefan