GNU bug report logs - #49623
Guile 3.0.7 can't read #{{}}#

Previous Next

Package: guile;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Sun, 18 Jul 2021 18:08:02 UTC

Severity: normal

Done: lloda <lloda <at> sarc.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49623 in the body.
You can then email your comments to 49623 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#49623; Package guile. (Sun, 18 Jul 2021 18:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxime Devos <maximedevos <at> telenet.be>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sun, 18 Jul 2021 18:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: bug-guile <at> gnu.org
Subject: Guile 3.0.7 can't read #{{}}#
Date: Sun, 18 Jul 2021 18:41:50 +0200
[Message part 1 (text/plain, inline)]
Hi,

A scheme library I'm working on now fails to compile
after switching from 3.0.2 to Guile 3.0.7.  The issue
is that Guile can't read #{{}}# anymore.

In guile 3.0.7:

scheme@(guile-user)> '#{{}}# }#
$1 = #{\x7b;\x7d;# }# ; the }# should result in a syntax error
scheme@(guile-user)> '#{{}}# ; this should work
...
; ^ guile is waiting for input

In guile 3.0.2:
scheme@(guile-user)> '#{{}}#
$1 = #{\x7b;\x7d;}# ; ok!

(Yes, I really name my variables like that sometimes.)

Note that #{{}a}# can be read just fine by both guile versions.

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guile <at> gnu.org:
bug#49623; Package guile. (Sun, 18 Jul 2021 18:17:01 GMT) Full text and rfc822 format available.

Message #8 received at 49623 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: guile-patches <at> gnu.org
Cc: 49623 <at> debbugs.gnu.org
Subject: [PATCH] Parse #{{}}# properly.
Date: Sun, 18 Jul 2021 20:16:35 +0200
[Message part 1 (text/plain, inline)]
Hi guilers,

This fixes bug #49623.  I also added two additional test cases.
I'm rebuilding Guile right now and will re-run the entire test suite,
and I'll build the affected guile library with the fixed guile.

Greetings,
Maxime.
[0001-ice-9-read-Parse-properly.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guile <at> gnu.org:
bug#49623; Package guile. (Sun, 18 Jul 2021 19:49:02 GMT) Full text and rfc822 format available.

Message #11 received at 49623 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: guile-devel <at> gnu.org
Cc: 49623 <at> debbugs.gnu.org
Subject: Re: Fwd: [PATCH] Parse #{{}}# properly.
Date: Sun, 18 Jul 2021 21:47:54 +0200
[Message part 1 (text/plain, inline)]
It turns out that the test fails when the patch
is applies to guile <at> 3.0.7.  I'll rebase and try
to figure things out.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guile <at> gnu.org:
bug#49623; Package guile. (Tue, 20 Jul 2021 10:56:02 GMT) Full text and rfc822 format available.

Message #14 received at 49623 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: guile-devel <at> gnu.org
Cc: 49623 <at> debbugs.gnu.org
Subject: [PATCH v2] Parse #{{}}# properly.
Date: Tue, 20 Jul 2021 12:54:46 +0200
[Message part 1 (text/plain, inline)]
Maxime Devos schreef op zo 18-07-2021 om 21:47 [+0200]:
> It turns out that the test fails when the patch
> is applies to guile <at> 3.0.7.  I'll rebase and try
> to figure things out.

With the revised patch, tests succeed and the Guile
library now compiles successfully.

Greetings,
Maxime.
[0001-ice-9-read-Parse-properly.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, inline)]

Reply sent to lloda <lloda <at> sarc.name>:
You have taken responsibility. (Mon, 02 Aug 2021 16:38:02 GMT) Full text and rfc822 format available.

Notification sent to Maxime Devos <maximedevos <at> telenet.be>:
bug acknowledged by developer. (Mon, 02 Aug 2021 16:38:02 GMT) Full text and rfc822 format available.

Message #19 received at 49623-done <at> debbugs.gnu.org (full text, mbox):

From: lloda <lloda <at> sarc.name>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 49623-done <at> debbugs.gnu.org, guile-devel <guile-devel <at> gnu.org>
Subject: Re: [PATCH v2] Parse #{{}}# properly.
Date: Mon, 2 Aug 2021 18:37:40 +0200
[Message part 1 (text/plain, inline)]
Applied in c78c130b1ddef6d6c290533f74ce1fbd51a4b19d. Thank you!


> On 20 Jul 2021, at 12:54, Maxime Devos <maximedevos <at> telenet.be> wrote:
> 
> Maxime Devos schreef op zo 18-07-2021 om 21:47 [+0200]:
>> It turns out that the test fails when the patch
>> is applies to guile <at> 3.0.7.  I'll rebase and try
>> to figure things out.
> 
> With the revised patch, tests succeed and the Guile
> library now compiles successfully.
> 
> Greetings,
> Maxime.
[0001-ice-9-read-Parse-properly.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 31 Aug 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 237 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.