From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tom Lord Newsgroups: gmane.lisp.guile.user Subject: Re: Stupid module and pregexp questions Date: Tue, 29 Apr 2003 23:31:41 -0700 (PDT) Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <200304300631.XAA05547@morrowfield.regexps.com> References: <877k9eobcv.fsf@raven.i.defaultvalue.org> <20030430064840.GC22895@www> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1051684292 17905 80.91.224.249 (30 Apr 2003 06:31:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2003 06:31:32 +0000 (UTC) Cc: markj@cloaked.freeserve.co.uk Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Apr 30 08:31:30 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 19Al7P-0004dW-00 for ; Wed, 30 Apr 2003 08:31:03 +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 19Al5K-0001XF-01 for guile-user@m.gmane.org; Wed, 30 Apr 2003 02:28:54 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19Akyc-00066A-00 for guile-user@gnu.org; Wed, 30 Apr 2003 02:21:58 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19AkwJ-0004O2-00 for guile-user@gnu.org; Wed, 30 Apr 2003 02:19:37 -0400 Original-Received: from 1cust79.tnt13.sfo8.da.uu.net ([65.234.195.79] helo=morrowfield.regexps.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19Akuc-0002vc-00 for guile-user@gnu.org; Wed, 30 Apr 2003 02:17:51 -0400 Original-Received: (from lord@localhost) by morrowfield.regexps.com (8.9.1/8.9.1) id XAA05547; Tue, 29 Apr 2003 23:31:41 -0700 (PDT) (envelope-from lord@morrowfield.regexps.com) Original-To: tomas@fabula.de In-reply-to: <20030430064840.GC22895@www> (tomas@fabula.de) 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:1880 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1880 > Two questions pop up: > - Do you think that it's viable to build Rx into Guile? What about > the licenses (as Guile is now LGPL)? Rx is GPL, currently. I have a desparate need for cash. So that's one route. If I independently overcame my desparate need for cash, I'd certainly consider a Guile-friendly license agreement gratis if there was serious interest in it. But Rx ain't cheap -- it's a lot of code, and a lot of run-time memory. Alas, it isn't a "no brainer" choice -- it's a genuine case of "which trade-offs do you prefer?" So I don't mean to be saying "obviously guile should be using Rx." I only mean to report my good experiences with it in the limited context of systas scheme. > - Do you think a pregexp-like interface to Rx is possible? I'm not familiar with pregexp, specifically. Rx has a few layers. It's pretty general. It's extended take on Posix syntax is pretty flexible. I doubt there'd be any problem here. > Something > along this lines would shorten the path towards a `regexp SRFI', > right? Do you think ti's desirable? (some on the list think not). Regexps are pretty freekin fundamental. I think a SRFI is a good idea. Ironically, I think Olin's SRE's do 80% of the job :-) >> And, oh yeah -- you'll want shared substrings to make >> things really hum along nicely (ahem :-). > Yes, I know. This issue was up on the list for quite a > while. I'd be a friend of shared substrings too (this would > give more freedom on string implementation), but since I > don't contribute in this area I just shut up :-) Contribute? Heck, they were actively excised -- apparently by virtue of some (sorry, folks) misguided reasoning about the cleanliness of their semantics. (As I recall: "Gosh, if you modify a shared substring, you hose the containing string," (though, of course, that's actually useful.)) -t _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user