Collection of 3 technical papers written during 1992 and 1993 by Richard "Dick" Waters and submitted to the ACM Lisp Pointers journal.
The first paper, titled "Using the New Common Lisp Pretty Printer", illustrates the use of the Common Lisp pretty printer by using it to print a subset of Lisp as Pascal.
The second, titled "Macroexpand-All: An Example of a Simple Lisp Code Walker", presents the MACROEXPAND-ALL function for expanding all the macro calls in an expression. The implementation of MACROEXPAND-ALL is based on the CLtL2 version of Common Lisp.
The third paper, "To NReverse When Consing a List or By Pointer Manipulation, To Avoid It; That Is the Question", discusses whether, for creating an ordered list of elements, it is better to push the items one at a time and then call NREVERSE, or to enter the elements in the list in the correct order.
Document location: http://www.merl.com/publications/TR1993-017/
You must be logged to add a note
You must be logged to add a comment