[cl-serializer-devel] Two issues, one resolved, for CL-SERIALIZER in Allegro 8.1

Attila Lendvai attila.lendvai at gmail.com
Wed Nov 24 15:07:11 UTC 2010


hi!

sorry for the delay, cleaning up my starred mails... :)


> #1. (SETF LOGBITP) is not defined in ACL 8.1 (nor in CLISP), and as far as I can tell isn't part of the standard nor can be portably defined.
>
> I'm changing (SETF (LOGBITP x y) z)
> to (SETF y (DPB z (BYTE 1 x) y)      (2 places).
> Maybe (SETF LDB) is better?
>
> #2. It seems that cl-serializer assumes that objects of type BASE-CHAR must be 8-bit characters, and thus can be encoded in a single byte.  But this isn't the case in Allegro, where (TYPEP (CODE-CHAR 257) 'BASE-CHAR) is true.  I didn't find a good way to get into the type detection logic to cause multi-byte characters to do the right thing.  Suggestions?



for the record, both of these issues should be dealt with in hu.dwim.serializer.

http://dwim.hu/darcsweb/darcsweb.cgi?r=HEAD%20hu.dwim.serializer;a=summary

-- 
 attila




More information about the cl-serializer-devel mailing list