From: Taylan Kammer <taylan.kammer@gmail.com>
To: Tom Gillespie <tgbugs@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: reading symbols containing apostrophe
Date: Wed, 30 Dec 2020 14:02:21 +0100 [thread overview]
Message-ID: <317b8cc8-659a-bfe0-e8c1-26df8c0f0fd5@gmail.com> (raw)
In-Reply-To: <CA+G3_POpTosx_FGdFCRmUNO2atJqx88yksTC3Jbv4ZWsDTD09w@mail.gmail.com>
On 30.12.2020 05:51, Tom Gillespie wrote:
> Hi,
> I'm in the processes of reviewing reader behavior for a number of
> different lisp dialects and Guile has a quirk that I have been unable
> to find any documentation about. Specifically, as far as I can tell
> apostrophe is not allowed in identifiers according to the formal
> grammars for r5rs through r7rs (I have not checked earlier versions).
> In addition apostrophe is not included in the extended reader syntax
> in the manual. However, 'a'b'c reads as a'b'c in guile 2.2.6. Am I
> missing something? Is this a bug?
Hi Tom,
It's quite common for implementations to extend the standard, so
something that's "an error" in the standard might be allowed in an
implementation.
This is evidently one of those cases.
I would not *rely* on Guile supporting this either though. Maybe in a
future version the reader will be changed and it will stop working.
- Taylan
next prev parent reply other threads:[~2020-12-30 13:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-30 4:51 reading symbols containing apostrophe Tom Gillespie
2020-12-30 13:02 ` Taylan Kammer [this message]
2021-01-04 23:12 ` Tom Gillespie
2021-01-05 13:23 ` Taylan Kammer
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=317b8cc8-659a-bfe0-e8c1-26df8c0f0fd5@gmail.com \
--to=taylan.kammer@gmail.com \
--cc=guile-user@gnu.org \
--cc=tgbugs@gmail.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).