unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: John Cowan <cowan@ccil.org>
To: Andy Wingo <wingo@pobox.com>
Cc: 38236@debbugs.gnu.org
Subject: bug#38236: R7RS reader does not support datum labels
Date: Sat, 16 Nov 2019 17:41:18 -0500	[thread overview]
Message-ID: <CAD2gp_Ro27o0Ez59hEUe3Wg4BzsGaQU6REFWau0vdCVvwKn_Tw@mail.gmail.com> (raw)
In-Reply-To: <87pnhrmtrc.fsf@pobox.com>

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

I don't see where the incompatibility comes in, although more lookahead
would be required.  Per the Guile documentation, neither #n# nor #n= (where
n is a sequence of digits) is a valid array tag.

On Sat, Nov 16, 2019 at 3:50 PM Andy Wingo <wingo@pobox.com> wrote:

> R7RS defines a lexical feature called "datum labels"; see section 2.4 in
> the report.  An example would be:
>
>    #0=(a b c . #0#)
>
> Guile's reader doesn't support this feature and it's not clear if we
> should, in general.  Note, datum literals appear to be incompatible with
> array literals.  But we could of course use the R7RS layer as a place to
> experiment with a `read' implemented in Scheme.
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 1034 bytes --]

  reply	other threads:[~2019-11-16 22:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-16 20:49 bug#38236: R7RS reader does not support datum labels Andy Wingo
2019-11-16 22:41 ` John Cowan [this message]
2019-11-18 15:10 ` Mark H Weaver
2019-11-18 18:35   ` Andy Wingo
2019-11-18 20:57     ` Arne Babenhauserheide

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=CAD2gp_Ro27o0Ez59hEUe3Wg4BzsGaQU6REFWau0vdCVvwKn_Tw@mail.gmail.com \
    --to=cowan@ccil.org \
    --cc=38236@debbugs.gnu.org \
    --cc=wingo@pobox.com \
    /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).