unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guile-devel@gnu.org
Subject: Re: SRFI-88-style keywords
Date: Sat, 03 Nov 2007 15:37:30 +0100	[thread overview]
Message-ID: <87d4urxumt.fsf@chbouib.org> (raw)
In-Reply-To: 2bc5f8210711021714t4b3c3743v7dc76a882916be42@mail.gmail.com

Hi,

"Julian Graham" <joolean@gmail.com> 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.



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


  reply	other threads:[~2007-11-03 14:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-03  0:14 SRFI-88-style keywords Julian Graham
2007-11-03 14:37 ` Ludovic Courtès [this message]
2008-04-15 18:08 ` Ludovic Courtès
2008-04-15 18:30   ` Julian Graham
2008-04-15 18:56     ` Ludovic Courtès
2008-04-26 19:35   ` Ludovic Courtès
2008-04-27  5:31     ` Julian Graham
2008-04-27 11:22       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d4urxumt.fsf@chbouib.org \
    --to=ludo@gnu.org \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).