<div dir="ltr"><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 12, 2015 at 1:45 PM, Gary Byers <span dir="ltr"><<a href="mailto:gb@clozure.com" target="_blank">gb@clozure.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
How d<span class=""><br>
<br>
<div>On 11/12/2015 10:05 AM, Mirko Vukovic
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">After executing the following code (using
named-readtables) reader macros such as #C(...), #(...), #|...|#
don't work.
<div><br>
</div>
<div>seems to delete prior reader macros:<br>
</div>
<div>
<div>
<div><br>
</div>
<div>CL-USER> (ql:quickload :named-readtables)</div>
<div>CL-USER> <br>
</div>
<div>(named-readtables:defreadtable :test</div>
<div> (:merge :standard)</div>
<div> (:macro-char #\# :dispatch))</div>
<div>CL-USER> (named-readtables:in-readtable :test)<br>
</div>
<div>CL-USER> #C(1d0 1d0)<br>
</div>
</div>
<div><br>
</div>
<div>Error message: </div>
<div>
<div>Reader error on #<STRING-INPUT-STREAM
#x21010256CD>, near position 2, within "#C(1d0 1d0)</div>
<div>":</div>
<div>Undefined character #\C in a #\# dispatch macro.</div>
</div>
<div><br>
</div>
<div>The same code on SBCL does not remove the prior
definitions of the reader macro.<br>
</div>
<div><br>
</div>
<div>I don't know if that is a bug in CCL, named-readtables,
or freedom allowed under the standard.</div>
<div><br>
</div>
<div>Maybe someone can make sense of it.</div>
</div>
</div>
</blockquote>
</span></div></blockquote><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF"><span class=""></span>
Knowing what versions of CCL and of the named-readtables library are
involved might help.<br>
The implementation of readtables changed in the CCL trunk early last
summer. Soon after it did,<br>
the named-readtables library - which depends on knowing
implementation details - changed as<br>
well<span class=""><br>
<blockquote type="cite">
<div dir="ltr">
<div>
<div><br></div></div></div></blockquote></span></div></blockquote><div>From the slime interactive buffer:</div><div><br></div><div>Welcome to Clozure Common Lisp Version 1.11-r16635 (WindowsX8664)!</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF"><span class=""><blockquote type="cite"><div dir="ltr"><div><div>
</div>
<div>Mirko</div>
</div>
</div>
</blockquote></span></div></blockquote></div></div></div>