Torstein Winterseth writes:
> Hello,
>
> I have found a bug where Guile does not handle escaped open
> parentheses correctly. This was found in a real program which works in
> Dr. Racket in R5RS mode. You are not the only interpreter on Fedora 15
> which fails this, but anyhow.
>
> Testcase:
>
>
Hi Torstein,
On Wed 11 May 2011 16:22, Torstein Winterseth writes:
> (define bug
> '(\())
AFAIU, \ is not actually an escaping marker in R5RS. The meaning of
your program is not defined by the R5RS, as an initial \ character on a
form is not specified. Guile treats this the same as:
However
Hello,
I have found a bug where Guile does not handle escaped open
parentheses correctly. This was found in a real program which works in
Dr. Racket in R5RS mode. You are not the only interpreter on Fedora 15
which fails this, but anyhow.
Testcase:
(define bug
'(\())
Expected results:
No error