Lisp HUG Maillist Archive

LW7 feature for #\u+... characters?

LW6 only supports 16-bit Unicode character (e.g. #\u+2022). However, LW7 
supports the full range and will now not throw an error whenever I do 
#\u+02022 (notice the extra nibble of data).

Is there a *FEATURE* I can use to test against this so any new code I 
write is backwards compatible with < LW 7?

Thanks!

Jeff M.

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Re: LW7 feature for #\u+... characters?

Jeffrey Massung <massung@gmail.com> writes:

> LW6 only supports 16-bit Unicode character (e.g. #\u+2022). However,
> LW7 supports the full range and will now not throw an error whenever I
> do #\u+02022 (notice the extra nibble of data).
>
> Is there a *FEATURE* I can use to test against this so any new code I
> write is backwards compatible with < LW 7?

You could write your own #\\ reader macro.

-- 
__Pascal Bourguignon__                 http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Re: LW7 feature for #\u+... characters?

Jeffrey Massung <massung@gmail.com> writes:

> LW6 only supports 16-bit Unicode character (e.g. #\u+2022). However,
> LW7 supports the full range and will now not throw an error whenever I
> do #\u+02022 (notice the extra nibble of data).
>
> Is there a *FEATURE* I can use to test against this so any new code I
> write is backwards compatible with < LW 7?

#+:lispworks7
or
#-(or :lispworks6 :lispworks5 ...)   ?

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Re: LW7 feature for #\u+... characters?

Unable to parse email body. Email id is 13461

Re: LW7 feature for #\u+... characters?

Unable to parse email body. Email id is 13462

Updated at: 2020-12-10 08:33 UTC