[Openmcl-devel] *read-suppress* REPL reader "bug"
dherring at tentpost.com
Sat Dec 13 21:06:30 EST 2008
Bug in quotes since it appears to be entirely conforming and common, and it
falls into the "rm -rf /" or "deltree c:" class of stupid.
If at the REPL you type (setf *read-suppress* t),
SBCL: useless REPL
ECL: useless REPL
CCL: useless REPL
I couldn't get "useless REPLs" to return anything other than nil.
While dpANS/CLHS don't seem to say anything about this, I believe CLISP has the
right idea. The REPL should (lexically) ensure *read-suppress* is bound to nil
before reading user input.
P.S. I separately sent this message to sbcl-devel, ecls-list, and
openmcl-devel to avoid automatic cross-posting of replies. Other
implementations may also be affected.
More information about the Openmcl-devel