From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.devel Subject: Re: regexp does not work as documented Date: Mon, 12 May 2008 16:18:43 +0000 Message-ID: <20080512161843.GA15407@www.trapp.net> References: <4826A303.3030002@gmx.at> <87abiwoqzd.fsf@stupidchicken.com> <482750F4.2050102@emf.net> <4827B9B8.30406@emf.net> <48286862.6040105@emf.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1210609377 2564 80.91.229.12 (12 May 2008 16:22:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 May 2008 16:22:57 +0000 (UTC) Cc: Chong Yidong , 192@emacsbugs.donarmstrong.com, emacs-devel@gnu.org, martin rudalics , David Koppelman , Stefan Monnier , Bruno Haible To: Thomas Lord Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 12 18:23:30 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 1Jvao6-0004b6-08 for ged-emacs-devel@m.gmane.org; Mon, 12 May 2008 18:23:22 +0200 Original-Received: from localhost ([127.0.0.1]:54679 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvanM-00050A-Vl for ged-emacs-devel@m.gmane.org; Mon, 12 May 2008 12:22:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JvanI-000504-Cf for emacs-devel@gnu.org; Mon, 12 May 2008 12:22:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JvanG-0004zs-Ul for emacs-devel@gnu.org; Mon, 12 May 2008 12:22:32 -0400 Original-Received: from [199.232.76.173] (port=44520 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvanG-0004zp-No for emacs-devel@gnu.org; Mon, 12 May 2008 12:22:30 -0400 Original-Received: from alextrapp1.equinoxe.de ([217.22.192.104]:42375 helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JvanG-0007HY-Dk for emacs-devel@gnu.org; Mon, 12 May 2008 12:22:30 -0400 Original-Received: by www.elogos.de (Postfix, from userid 4000) id E54234B635; Mon, 12 May 2008 16:18:43 +0000 (UTC) Content-Disposition: inline In-Reply-To: <48286862.6040105@emf.net> User-Agent: Mutt/1.5.9i X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:97035 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, May 12, 2008 at 08:55:14AM -0700, Thomas Lord wrote: [...] > Why that last one? Because then you can probably use the same > DFA engine as the heart of a shift-reduce parser and (for languages > that admit such things) write an incremental parser. (You'd be using > non-buffer-position DFAs to process token ids emitted by the lexer.) > You can also use such a feature for things like serial I/O protocols. ...and cool things could be done with process-filter-function and its cousin after-insert-file-functions (i.e. parse input on-the-fly). Nifty stuff. Regards - -- tom=C3=A1s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFIKG3jBcgs9XrR2kYRAtv8AJ9uj1wEjjT4bIPNQxYoYY5iPJW8cwCdE87U vsVarzdJhCu143kN7OGWh/Q=3D =3D0dcf -----END PGP SIGNATURE-----