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: Wed, 30 Apr 2003 08:48:40 +0200 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <20030430064840.GC22895@www> References: <877k9eobcv.fsf@raven.i.defaultvalue.org> <200304292321.QAA04172@morrowfield.regexps.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051683046 13982 80.91.224.249 (30 Apr 2003 06:10:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2003 06:10:46 +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:10:42 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 19Aknh-0003dI-00 for ; Wed, 30 Apr 2003 08:10:41 +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 19AkfP-0007Ly-00 for guile-user@m.gmane.org; Wed, 30 Apr 2003 02:02:07 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19Akcl-0004Su-00 for guile-user@gnu.org; Wed, 30 Apr 2003 01:59:23 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19AkcM-0003zz-00 for guile-user@gnu.org; Wed, 30 Apr 2003 01:58:58 -0400 Original-Received: from [217.22.192.104] (helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19AkZR-0001LV-00 for guile-user@gnu.org; Wed, 30 Apr 2003 01:55:57 -0400 Original-Received: by www.elogos.de (Postfix, from userid 5002) id 7E57914580; Wed, 30 Apr 2003 08:48:40 +0200 (CEST) Original-To: Tom Lord Content-Disposition: inline In-Reply-To: <200304292321.QAA04172@morrowfield.regexps.com> 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:1879 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1879 On Tue, Apr 29, 2003 at 04:21:10PM -0700, Tom Lord wrote: [...] > I have some experience in regexp implementation, so may I offer my > $0.02? FWIW I do appreciate yours always :-) [...] > b) A really fast and general matcher, like Rx (as in hackerlab C > library, not as in the ancient fork on the GNU FTP site), opens a > lot of doors. You can apply dynamically generated regexps to > applications that were previously out of reach. A nice example > might be to write parsers for a really rich wiki language. > > To my mind, opening the door to applications like that through the > provision of an extra fancy regexp engine is a neat thing to do -- > and is a way Guile could differentiate itself from other > languages. At the same time, it takes a lot of code and it's > touchy to tune -- so it risks violating the KISS principle. 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)? - Do you think a pregexp-like interface to Rx is possible? 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). > 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 :-) Regards -- tomas _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user