28 Jan 07:07
Patch to support cmucl/unicode
Raymond Toy <toy.raymond <at> gmail.com>
2011-01-28 06:07:15 GMT
2011-01-28 06:07:15 GMT
The patch below adds support for cmucl/unicode. This basically adds an implementation of %make-readtable-iterator, updates %clear-readtable for cmucl (like sbcl), a fix for %get-dispatch-macro-character, a fix for %get-macro-character (like allegro). With these changes (and a small change in named-readtables.lisp that has already been mentioned by Stas Boukarev last month. With these changes cmucl passes all 36 of the tests. Oh, one thing. I noticed that in %clear-readtable, the last sexp is #+common-lisp. CMUCL has the :common-lisp feature, so the table is set twice. Perhaps this is oversight and the reader conditional should be #-(or allegro sbcl cmu)? Ray Change log: * Add implementation of %make-readtable-iterator for cmucl/unicode. * Implement %clear-readtable for cmucl. * Make %get-dispatch-macro-character return NIL where cmucl actually has #'lisp::dispatch-char-error. It seems named-readtables wants this. * Update %get-macro-character for cmucl, which behaves like allegro here. diff -u --recursive ./cruft.lisp /Volumes/share2/src/sourceforge/matlisp/matlisp-cvs/lib-src/named-readtables-0.9/cruft.lisp(Continue reading)
RSS Feed