|
From: Terje N. <te...@in...> - 2010-11-17 23:33:39
|
On Nov 13, 2010, at 6:07 AM, Didier Verna wrote: >> | #+ccl (#_this-should-not-bother-you-because-you-are-not-ccl 1) >> >> | *** - READ from #<INPUT BUFFERED FILE-STREAM CHARACTER #P"test.lisp" @16>: >> | After #\# is #\_ an undefined dispatch macro character >> | >> | zsh: exit 1 clisp test.lisp > > After reading CLHS's entry for *read-suppress*, I'm afraid that clisp > is right: "Dispatching macro characters continue to parse an infix > numerical argument, and invoke the dispatch function.". See also CLHS section 2.4.8.17 Sharpsign Plus: #+ operates by first reading the feature expression and then skipping over the form if the feature expression fails. While reading the test, the current package is the KEYWORD package. Skipping over the form is accomplished by binding *read-suppress* to true and then calling read. http://www.lispworks.com/documentation/HyperSpec/Body/02_dhq.htm -- Terje Norderhaug te...@in... |