<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
How d<br>
<br>
<div class="moz-cite-prefix">On 11/12/2015 10:05 AM, Mirko Vukovic
wrote:<br>
</div>
<blockquote
cite="mid:CAO73BAAjKcAXLsTrtAOQPUex2giUfTzoZEkKzRUQTvZdp3H3kg@mail.gmail.com"
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>
<br>
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<br>
<blockquote
cite="mid:CAO73BAAjKcAXLsTrtAOQPUex2giUfTzoZEkKzRUQTvZdp3H3kg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div><br>
</div>
<div>Mirko</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Openmcl-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Openmcl-devel@clozure.com">Openmcl-devel@clozure.com</a>
<a class="moz-txt-link-freetext" href="https://lists.clozure.com/mailman/listinfo/openmcl-devel">https://lists.clozure.com/mailman/listinfo/openmcl-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>