unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Bruno Haible <bruno@clisp.org>
To: 72678@debbugs.gnu.org
Subject: bug#72678: intraline whitespace not supported between backslash and newline in R6RS string literals
Date: Sat, 17 Aug 2024 01:47:19 +0200	[thread overview]
Message-ID: <2273779.Dhsi8hcfAM@nimes> (raw)

According to R6RS § 4.2.7 and R7RS § 6.7, intraline whitespace
(i.e. spaces and tabs) should be allowed between backslash and newline
in R6RS string literals.

Guile 3.0.10 does not support this.

How to reproduce:

$ tr -d '$' > foo.scm <<\EOF
(begin
  #!r6rs
  (display "Hello \$
           mama")
  (display "Hello \  $
           papa"))
EOF
$ guile foo.scm
=>
ice-9/read.scm:126:4: In procedure read-string:
/home/bruno/foo.scm:5:21: invalid character in escape sequence: #\space

$ guile --version
guile (GNU Guile) 3.0.10
...








                 reply	other threads:[~2024-08-16 23:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=2273779.Dhsi8hcfAM@nimes \
    --to=bruno@clisp.org \
    --cc=72678@debbugs.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).