From: Pascal J.B. <pj...@in...> - 2004-07-27 17:37:04
|
Sam Steingold writes: > > * Pascal J.Bourguignon <cwo@vasbezngvzntb.pbz> [2004-07-27 09:09:54 +0200]: > > > > [9]> 1, > > 1 > > > > Oops! No error detected here... > > > > [11]> 1 , > > 1 > > [12]> > > *** - READ: comma is illegal outside of backquote > > Break 1 [13]> > > this boils down to the fact that in CLISP > > (let ((cs (make-concatenated-stream (make-string-input-stream "a")))) > (unread-char (read-char cs) cs) > (eql (peek-char nil cs) > (peek-char nil (first (concatenated-stream-streams cs)) nil nil))) > > returns NIL (while in CMUCL and LWW it return T, even though I see no > indication in ANSI that this is required). But I did not get the impression that the reader algorithm described in www.lispworks.com/reference/HyperSpec/Body/02_b.htm makes any references to peek-char and unread-char... In any case, this is a low priority item. -- __Pascal Bourguignon__ http://www.informatimago.com/ There is no worse tyranny than to force a man to pay for what he does not want merely because you think it would be good for him. -- Robert Heinlein |