Also you can visit the Common Lisp side of PLEAC.
About PLEAC: As of early November 2004 the CL side of PLEAC is in a sad state: the code is ugly and unidiomatic, and imo should not be used as an example or reference in the current state. Nevermind the SETQ plague, there are worse things in there. Example:;;; PLEAC version of "Reversing a stream by word" (reverse (do* ((stringstream (make-string-input-stream string)) (result nil (cons next result)) (next (read stringstream nil 'eos) (read stringstream nil 'eos))) ((equal next 'eos) (reverse result)))));;; Problems: a) READ used where READ-CHAR/LINE should be b) double reverse ;;; c) use of 'eof symbol to catch end of file, d) DO* where LOOP or DO would ;;; have served, e) stream never closed f) EQUAL where EQ is ment.
This just happened to be a particularly "shining" example, but the overall quality is not that much better. People working on PLEAC might want to eg. leverage the propensity of the comp.lang.lisp crowd to hone newbiesh solutions into more idiomatic lisp.
That said, cudos for the effort and good luck! --Nikodemus Siivola
This page is linked from: Online Tutorial Practical Lisp Programming
CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively