[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SRFI-88-style keywords
From: |
Ludovic Courtès |
Subject: |
Re: SRFI-88-style keywords |
Date: |
Sat, 03 Nov 2007 15:37:30 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Hi,
"Julian Graham" <address@hidden> writes:
> I was looking at some SRFIs recently (specifically SRFIs 88, 89, and
> 90), and I noticed that Guile could support all three of them pretty
> easily if the reader allowed self-quoting keywords in which the colon
> comes at the end, a la SRFI-88. The default reader behavior is to
> only parse tokens as keywords if they begin with #: (e.g., #:foo), but
> you can modify this behavior by setting the reader option (keywords
> 'prefix), which gets you keywords that start with just the colon
> (e.g., :foo). What if we added another reader option, say, (keywords
> 'postfix), which would recognize SRFI-88-style keywords?
Looks like a good idea.
I tend to think we would not add it in 1.8, or at least not in 1.8.4, so
that the reader can stabilize before we break it again. :-)
Thanks,
Ludovic.