From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: What does #-3# mean? Date: Wed, 25 Aug 2010 11:52:05 +0200 Message-ID: <87occrm33u.fsf@gnu.org> References: <1282579402.2957.6.camel@debianrts.home> <87occsezkl.fsf@gnu.org> <04CDA7A3-47B4-471E-9665-EE63ECDC0481@mac.com> <87occr1vek.fsf@delenn.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1282729943 14679 80.91.229.12 (25 Aug 2010 09:52:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Aug 2010 09:52:23 +0000 (UTC) Cc: "guile-user@gnu.org" To: Andreas Rottmann Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Aug 25 11:52:22 2010 Return-path: Envelope-to: guile-user@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 1OoCeZ-0003dy-8T for guile-user@m.gmane.org; Wed, 25 Aug 2010 11:52:19 +0200 Original-Received: from localhost ([127.0.0.1]:44822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoCeY-0008EZ-Na for guile-user@m.gmane.org; Wed, 25 Aug 2010 05:52:18 -0400 Original-Received: from [140.186.70.92] (port=56592 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoCeP-0008Dy-FA for guile-user@gnu.org; Wed, 25 Aug 2010 05:52:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OoCeO-000398-08 for guile-user@gnu.org; Wed, 25 Aug 2010 05:52:09 -0400 Original-Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:5112) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OoCeN-00038x-Qt for guile-user@gnu.org; Wed, 25 Aug 2010 05:52:07 -0400 X-IronPort-AV: E=Sophos;i="4.56,267,1280700000"; d="scan'208";a="66102034" Original-Received: from laptop-147-210-128-193.labri.fr (HELO nixey) ([147.210.128.193]) by mail1-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 25 Aug 2010 11:52:06 +0200 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 8 Fructidor an 218 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <87occr1vek.fsf@delenn.lan> (Andreas Rottmann's message of "Wed, 25 Aug 2010 00:46:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8099 Archived-At: Hello, Andreas Rottmann writes: > "dskr@mac.com" writes: > >> I recall that the reader can be hash-extended to read these forms in a >> hacky way. Extend on '-'. I don't recall exactly anymore. I long ago >> patched the reader to read these natively. Perhaps there is some >> enthusiasm for making these readable in the main line? >> > I'd like to implement SRFI-38, and perhaps the best way would be to > modify the core reader/writer, instead of adding something like the > reference implementation? Would this require a new reader option, or > should it be always enabled? I=E2=80=99d do it using either =E2=80=98read-hash-extend=E2=80=99, which sh= ould make it possible to implement =E2=80=98read-with-shared-structure=E2=80=99 without touching = =E2=80=98read=E2=80=99 (or I=E2=80=99d take this opportunity to write a new =E2=80=98read=E2=80=99 in = Scheme using SILex. :-)) Thanks, Ludo=E2=80=99.