From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.user Subject: Re: Stupid module and pregexp questions Date: Mon, 28 Apr 2003 12:12:38 -0500 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <874r4imtq1.fsf@raven.i.defaultvalue.org> References: <877k9eobcv.fsf@raven.i.defaultvalue.org> <20030428175342.GA15667@www> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051550029 5524 80.91.224.249 (28 Apr 2003 17:13:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2003 17:13:49 +0000 (UTC) Cc: MJ Ray Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Apr 28 19:13:47 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19ACB1-0001IF-00 for ; Mon, 28 Apr 2003 19:12:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19ACBa-0008Az-01 for guile-user@m.gmane.org; Mon, 28 Apr 2003 13:13:02 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19ACBG-0008AP-00 for guile-user@gnu.org; Mon, 28 Apr 2003 13:12:42 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19ACBE-00088z-00 for guile-user@gnu.org; Mon, 28 Apr 2003 13:12:41 -0400 Original-Received: from dsl093-098-016.wdc1.dsl.speakeasy.net ([66.93.98.16] helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19ACBD-00087v-00 for guile-user@gnu.org; Mon, 28 Apr 2003 13:12:39 -0400 Original-Received: from raven.i.defaultvalue.org (raven.i.defaultvalue.org [192.168.1.7]) by defaultvalue.org (Postfix) with ESMTP id C9A6B559; Mon, 28 Apr 2003 12:12:38 -0500 (CDT) Original-Received: by raven.i.defaultvalue.org (Postfix, from userid 1000) id 9D4632150F7; Mon, 28 Apr 2003 12:12:38 -0500 (CDT) Original-To: tomas@fabula.de In-Reply-To: <20030428175342.GA15667@www> (tomas@fabula.de's message of "Mon, 28 Apr 2003 19:53:42 +0200") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3 (i386-pc-linux-gnu) Original-cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: General Guile related discussions List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:1854 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1854 tomas@fabula.de writes: > Call me conservative, what not. I'd think You'd Write A Regexp Lib In C (TM). > > Apart from that, pregexp shows how a good Scheme interface to a > regexp library might look like. I mean: having an S-expression > syntax for regexps (and having the string variant just as a > convenient shorthand notation) gives you the power to automated > construction of regexps. My initial impulse, if the upstream author is amenable, is to take the existing source, and translate it to C (either by hand, or with some automated help). Though without having read the source, I don't yet know what the feasibility of that is. > What I have missed most is a streams like interface: in comes a > stream of chars, out a stream of matches. Has anyone seen something > like this? That would be nice. -- Rob Browning rlb @defaultvalue.org, @linuxdevel.com, and @debian.org Previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user