[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] s-expr reader doesn't allow dot followed by string
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] s-expr reader doesn't allow dot followed by string |
Date: |
Sat, 26 Feb 2005 16:36:58 +0100 |
Yes, that's broken. Here is the patch:
(file library.scm)
1820c1820,1824
< (cond [(char-whitespace? c2)
---
> (cond [(or (char-whitespace? c2)
> (eq? c2 #\()
> (eq? c2 #\))
> (eq? c2 #\")
> (eq? c2 #\;) )
Thanks.
cheers,
felix
On Sat, 26 Feb 2005 12:34 +0100, address@hidden
<address@hidden> wrote:
> Hello,
>
> I have not looked at R5RS, so I don't know if it's a bug, but chicken
> is the only scheme (or lisp) I've seen so far that doesn't allow to
> omit whitespace between a dot and a string:
>
> #;> '(a ."b")
> Error: invalid use of '.'
>
> scm, bigloo, scsh, mzscheme, gambit, rscheme (and sbcl and clisp) all
> accept that.
>
> Christian.
>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/chicken-users
>