[Ecls-list] read and recursive-p
Raymond Toy
toy.raymond at gmail.com
Wed Mar 5 01:20:15 UTC 2008
Here's a little test program:
(with-input-from-string (s "abcdef")
(loop (read s nil 'eof t)))
With gcl, clisp, and cmucl, this loop is an infinite loop.
However, with ecl, this code produces an end-of-file error.
I'm not very sure about what exactly is supposed to happen when
recursive-p is non-NIL, and error-p is NIL, but I think an error is not
supposed to be produced. (This causes some problems with f2cl and ecl,
but I think f2cl is using setting recursive-p in some places it probably
shouldn't.)
Ray
More information about the ecl-devel
mailing list