Mark Wooding <firstname.lastname@example.org> wrote:
| John Thingstad <email@example.com> wrote:
| > ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-1102a.pdf
| I had seen that (a while) before, but thanks for the reminder.
You might also want to look at Chapter 1 of one of Waters's
earlier papers (August 1993):
Richard Waters, "Some Useful Lisp Algorithms: Part 2"
Chapter 1 "Using the New Common Lisp Pretty Printer"
Chapter 2 "Macroexpand-All: An Example of a Simple Lisp Code Walker"
Chapter 3 "To NReverse When Consing a List or By Pointer
Manipulation, To Avoid It; That Is the Question"
The blurb for Chapter 1 [in the 2nd URL] says:
Chapter 1 "Using the New Common Lisp Pretty Printer" explains
how the pretty printing facilities that have been adopted as
part of the forthcoming Common Lisp standard can be used to gain
detailed control over the printing of lists. As an example, it
shows how the pretty printer can be used to print a subset of
Lisp as Pascal.
Rob Warnock <firstname.lastname@example.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607