From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tomas@fabula.de Newsgroups: gmane.lisp.guile.user Subject: Re: Stupid module and pregexp questions Date: Mon, 28 Apr 2003 19:53:42 +0200 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <20030428175342.GA15667@www> References: <877k9eobcv.fsf@raven.i.defaultvalue.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051550277 7101 80.91.224.249 (28 Apr 2003 17:17:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2003 17:17:57 +0000 (UTC) Cc: MJ Ray Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Apr 28 19:17:55 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 19ACGE-0001po-00 for ; Mon, 28 Apr 2003 19:17:50 +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 19ACFD-00015X-0D for guile-user@m.gmane.org; Mon, 28 Apr 2003 13:16:47 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19AC32-0006AG-00 for guile-user@gnu.org; Mon, 28 Apr 2003 13:04:12 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19AC22-0005Qc-00 for guile-user@gnu.org; Mon, 28 Apr 2003 13:03:12 -0400 Original-Received: from [217.22.192.104] (helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19AC1C-0004wy-00 for guile-user@gnu.org; Mon, 28 Apr 2003 13:02:19 -0400 Original-Received: by www.elogos.de (Postfix, from userid 5002) id E1E061457F; Mon, 28 Apr 2003 19:53:42 +0200 (CEST) Original-To: Rob Browning Content-Disposition: inline In-Reply-To: <877k9eobcv.fsf@raven.i.defaultvalue.org> User-Agent: Mutt/1.5.3i 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:1855 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1855 On Mon, Apr 28, 2003 at 11:06:24AM -0500, Rob Browning wrote: > MJ Ray writes: > [...] [about letting configure find whatever regexp lib is there] > If so, then it'd be nice to have a truly invariant regex > lib that we can rely on. Without that, it's hard to write portable > scripts. Indeed. [pregexp/pcre] > In the end, I'd just like to have a powerful regex lib whose syntax > and behavior is invariant across all the platforms on which I'm likely > to run guile. > > Thoughts? 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. 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? Have a look to the contortions needed in Perl to do this. This are my random ramblings. But you asked for input ;-) Regards -- tomas _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user