From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: GSOC PEG project Date: Thu, 08 Jul 2010 17:21:06 +0100 Message-ID: References: <874ogdmu2m.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1278682566 11250 80.91.229.12 (9 Jul 2010 13:36:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 9 Jul 2010 13:36:06 +0000 (UTC) Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , guile-devel@gnu.org To: Michael Lucy Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jul 09 15:36:04 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OXDkJ-0007nP-D4 for guile-devel@m.gmane.org; Fri, 09 Jul 2010 15:36:03 +0200 Original-Received: from localhost ([127.0.0.1]:48250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXDkI-0000ny-C2 for guile-devel@m.gmane.org; Fri, 09 Jul 2010 09:36:02 -0400 Original-Received: from [140.186.70.92] (port=36386 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXDjz-0000mr-VF for guile-devel@gnu.org; Fri, 09 Jul 2010 09:35:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXDjy-0007v9-Qr for guile-devel@gnu.org; Fri, 09 Jul 2010 09:35:43 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:43364 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXDjy-0007v2-Mg; Fri, 09 Jul 2010 09:35:42 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 83791C2516; Fri, 9 Jul 2010 09:35:42 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=vFhHhorTcH+j18QwnkNHN+LyzlI=; b=UULP6t jbR8xPY/nFUxN9xJgfAMcRspFjVm8rRuwX11oGT92B1oppvnwHVZqV5+/9fbOnd5 xZdiG6s87QfJx762OepdraSnsSP7wax+76557JY0EjwuOUIfnmG09FHlWpdqA7sc dbYzGmtH3kV2vvQ9ofAYJ+ZrA4MLy1EmCFj3c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=O0jy79lGfRXIa6pp1nFUMMu9cvixmWX+ TsGcODWvTtXPfrfHtxQJdgwzck/P1++kT2aXitiazgcWLH1YEX9wWfI5N6tFJEAV P1jLk3wh8onsw+hlzkYt2kLhIeiY+f+8X7diSPzuNNwoX8JyLrpa7HZ+k9waTRqL 0kqw43NYcak= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 42F46C2514; Fri, 9 Jul 2010 09:35:40 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [81.39.161.70]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 85059C2512; Fri, 9 Jul 2010 09:35:37 -0400 (EDT) In-Reply-To: (Michael Lucy's message of "Mon, 5 Jul 2010 18:59:33 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: DD6C84B6-8B5E-11DF-A997-9056EE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10634 Archived-At: Hi Michael, On Tue 06 Jul 2010 00:59, Michael Lucy writes: > (use-modules (ice-9 peg)) > (peg-find "'b'+" "aabbcc") > --> (2 4 "bb") Humm, another thing to think about: (ice-9 regex) returns "match structures", which are really just vectors; have a look at them, and if it makes sense to mimic that interface, re-exporting those accessors somehow, please do. > And when I use it with --no-autocompile I don't get any errors: > > What does this mean? Probably some eval-when tomfoolery. See "Eval When" in the manual. Cheers, Andy -- http://wingolog.org/