home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / lisp / 2417 < prev    next >
Encoding:
Internet Message Format  |  1992-09-12  |  47.5 KB

  1. Xref: sparky comp.lang.lisp:2417 news.answers:2880
  2. Path: sparky!uunet!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!mkant
  3. From: mkant+@cs.cmu.edu (Mark Kantrowitz)
  4. Newsgroups: comp.lang.lisp,news.answers
  5. Subject: FAQ: Lisp Frequently Asked Questions 1/5 [Monthly posting]
  6. Summary: Introductory Matter and Bibliography of Introductions and References
  7. Message-ID: <lisp-faq-1.text_716371238@cs.cmu.edu>
  8. Date: 13 Sep 92 08:00:48 GMT
  9. Article-I.D.: cs.lisp-faq-1.text_716371238
  10. Expires: Tue, 27 Oct 1992 08:00:38 GMT
  11. Sender: news@cs.cmu.edu (Usenet News System)
  12. Reply-To: lisp-faq@think.com
  13. Followup-To: poster
  14. Organization: School of Computer Science, Carnegie Mellon
  15. Lines: 1051
  16. Approved: news-answers-request@MIT.Edu
  17. Supersedes: <lisp-faq-1.text_713752615@cs.cmu.edu>
  18. Nntp-Posting-Host: a.gp.cs.cmu.edu
  19.  
  20. Archive-name: lisp-faq/part1
  21. Last-Modified: Wed Aug 19 21:38:21 1992 by Mark Kantrowitz
  22. Version: 1.23
  23.  
  24. ;;; ****************************************************************
  25. ;;; Answers to Frequently Asked Questions about Lisp ***************
  26. ;;; ****************************************************************
  27. ;;; Written by Mark Kantrowitz and Barry Margolin
  28. ;;; lisp-faq-1.text -- 48154 bytes
  29.  
  30. This post contains Part 1 of the Lisp FAQ.
  31.  
  32. If you think of questions that are appropriate for this FAQ, or would
  33. like to improve an answer, please send email to us at lisp-faq@think.com.
  34.  
  35. Note that the lisp-faq mailing list is for discussion of the content
  36. of the FAQ posting.  It is not the place to ask questions about Lisp;
  37. use either the common-lisp@ai.sri.com mailing list or the
  38. comp.lang.lisp newsgroup for that.  If a question appears frequently
  39. in one of those forums, it will get added to the FAQ list.
  40.  
  41. There are currently five parts to the Lisp FAQ:
  42.    1. Introductory Matter and Bibliography of Introductions and References
  43.    2. General Questions
  44.    3. Common Programming Pitfalls
  45.    4. Lisp/Scheme Implementations and Mailing Lists
  46.    5. CLOS and PCL Questions
  47. Part 4 is cross-posted to the comp.lang.scheme newsgroup. Part 5 is
  48. cross-posted to the comp.lang.clos newsgroup.
  49.  
  50. Topics Covered (Part 1):
  51.  
  52.   [1-0]      What is the purpose of this newsgroup?
  53.   [1-1]      What documentation is available on Lisp? How can I learn Lisp?
  54.   [1-2]      How can I improve my Lisp programming style and coding efficiency?
  55.   [1-3]      Where can I learn about implementing Lisp interpreters and compilers?
  56.   [1-4]      What does CLOS, PCL, X3J13, CAR, CDR, ... mean? 
  57.   [1-5]   Where can I get a copy of the draft ANSI standard for Common Lisp?
  58.  
  59. Topics Covered (Part 2):
  60.  
  61.   [2-0]   What FTP resources are available?
  62.   [2-1]   Is there a GNU-Emacs interface to Lisp?
  63.   [2-2]   How can I use the X Window System or other GUIs from Lisp?
  64.   [2-3]   What is the equivalent of EXPLODE and IMPLODE in Common Lisp?
  65.   [2-4]   Is Lisp inherently slower than more conventional languages such as C?
  66.   [2-5]   Why does Common Lisp have "#'"?
  67.   [2-6]   How do I call non-Lisp functions from Lisp?
  68.   [2-7]   Can I call Lisp functions from other languages?
  69.   [2-8]   I want to call a function in a package that might not exist at
  70.           compile time. How do I do this?  
  71.   [2-9]   What is CDR-coding?
  72.   [2-10]  What is garbage collection?
  73.   [2-11]  How do I save an executable image of my loaded Lisp system?
  74.           How do I run a Unix command in my Lisp?
  75.           How do I get the current directory name from within a Lisp program?
  76.   [2-12]  I'm porting some code from a Symbolics Lisp machine to some
  77.           other platform, and there are strange characters in the code.
  78.           What do they mean?  
  79.   [2-13]  History: Where did Lisp come from?
  80.   [2-14]  How do I find the argument list of a function?
  81.   [2-15]  How can I have two Lisp processes communicate via unix sockets?
  82.  
  83. Common Pitfalls (Part 3):
  84.  
  85.   [3-0]  Why does (READ-FROM-STRING "foobar" :START 3) return FOOBAR
  86.          instead of BAR?  
  87.   [3-1]  Why can't it deduce from (READ-FROM-STRING "foobar" :START 3)
  88.          that the intent is to specify the START keyword parameter
  89.          rather than the EOF-ERROR-P and EOF-VALUE optional parameters?   
  90.   [3-2]  Why can't I apply #'AND and #'OR?
  91.   [3-3]  I used a destructive function (e.g. DELETE, SORT), but it
  92.          didn't seem to work.  Why? 
  93.   [3-4]  After I NREVERSE a list, it's only one element long.  After I
  94.          SORT a list, it's missing things.  What happened? 
  95.   [3-5]  Why does (READ-LINE) return "" immediately instead of waiting
  96.          for me to type a line?  
  97.   [3-6]  I typed a form to the read-eval-print loop, but nothing happened. Why?
  98.   [3-7]  DEFMACRO doesn't seem to work.
  99.          When I compile my file, LISP warns me that my macros are undefined
  100.          functions, or complains "Attempt to call <function> which is 
  101.          defined as a macro.
  102.   [3-8]  Name conflict errors are driving me crazy! (EXPORT, packages)
  103.   [3-9]  Closures don't seem to work properly when referring to the
  104.          iteration variable in DOLIST, DOTIMES and DO.
  105.   [3-10] What is the difference between FUNCALL and APPLY?
  106.   [3-11] Miscellaneous things to consider when debugging code.
  107.   [3-12] When is it right to use EVAL?
  108.   [3-13] Why does my program's behavior change each time I use it?
  109.   [3-14] When producing formatted output in Lisp, where should you put the
  110.          newlines (e.g., before or after the line, FRESH-LINE vs TERPRI,
  111.          ~& vs ~% in FORMAT)?
  112.  
  113. Lisp/Scheme Implementations and Mailing Lists (Part 4):
  114.  
  115.   [4-0]      Where can I get/buy Lisp and Scheme for the ... architecture?
  116.   [4-1]      Where can I get an implementation of Prolog in Lisp?
  117.   [4-2]   What is Dylan?
  118.   [4-3]      What Lisp-related discussion groups and mailing lists exist?
  119.   [4-4]   What are R4RS and IEEE P1178?
  120.   [4-5]   How do I do object-oriented programming in Scheme?
  121.  
  122. CLOS Questions (Part 5):
  123.  
  124.   [5-0]      What is CLOS (PCL) and where can I get it?
  125.       How do you pronounce CLOS?
  126.   [5-1]      What documentation is available about object-oriented
  127.       programming in Lisp?    
  128.   [5-2]      How I write a function that can access defstruct slots by
  129.       name?     I would like to write something like 
  130.       (STRUCTURE-SLOT <object> '<slot-name>).   
  131.   [5-3]      How can I list all the CLOS instances in a class?
  132.   [5-4]   How can I store data and CLOS instances (with possibly circular
  133.       references) on disk so that they may be retrieved at some later
  134.       time?
  135.   [5-5]   Given the name of a class, how can I get the names of its slots?
  136.  
  137.  
  138. Search for [#] to get to question number # quickly.
  139.  
  140.  
  141. Introduction:
  142.  
  143. Certain questions and topics come up frequently in the various network
  144. discussion groups devoted to and related to Lisp.  This file/article is
  145. an attempt to gather these questions and their answers into a convenient
  146. reference for Lisp programmers.     It (or a reference to it) is posted
  147. periodically.  The hope is that this will cut down on the user time and
  148. network bandwidth used to post, read and respond to the same questions
  149. over and over, as well as providing education by answering questions
  150. some readers may not even have thought to ask.
  151.  
  152. This is not a Lisp tutorial, nor is it an exhaustive list of all Lisp
  153. intricacies.  Lisp is a very powerful and expressive language, but with
  154. that power comes many complexities.  This list attempts to address the
  155. ones that average Lisp programmers are likely to encounter.  If you are
  156. new to Lisp, see the answer to the question "How can I learn Lisp?".
  157.  
  158. The latest version of this file is available via anonymous FTP from CMU
  159. and Thinking Machines: 
  160.  
  161.    To obtain the files from CMU, connect by anonymous ftp to any CMU CS
  162.    machine (e.g., ftp.cs.cmu.edu [128.2.206.173]), using username
  163.    "anonymous" and password "name@host". The files lisp-faq-1.text,
  164.    lisp-faq-2.text, lisp-faq-3.text, lisp-faq-4.text and lisp-faq-5.text
  165.    are located in the directory
  166.        /afs/cs.cmu.edu/user/mkant/Public/Lisp-Utilities/
  167.    [Note: You must cd to this directory in one atomic operation, as
  168.    some of the superior directories on the path are protected from
  169.    access by anonymous ftp.] If your site runs the Andrew File System,
  170.    you can just cp the files directly without bothering with FTP.
  171.  
  172.    To obtain the files from Thinking Machines, ftp them from ftp.think.com,
  173.    in the directory /public/think/lisp/. The file faq.text contains all the
  174.    parts of the FAQ in one file. In addition, specific versions of the FAQ
  175.    are available as faq-<version>.text.
  176.  
  177. Unless otherwise specified, the Lisp dialect referred to is Common Lisp,
  178. as defined by "Common Lisp: the Language" (aka "CLtL") as well as
  179. corrections (but not enhancements) from "Common Lisp: the Language, 2nd
  180. Edition" (aka "CLtL2"), both by Guy L. Steele, Jr. and published by
  181. Digital Press. Enhancements such as CLOS, conditions, and the LOOP
  182. macro will be referred to separately.
  183.  
  184. ----------------------------------------------------------------
  185. [1-0] What is the purpose of this newsgroup?
  186.  
  187. The newsgroup comp.lang.lisp exists for general discussion of
  188. topics related to the programming language Lisp. For example, possible
  189. topics can include (but are not necessarily limited to):
  190.    announcements of Lisp books and products
  191.    discussion of programs and utilities written in Lisp
  192.    discussion of portability issues
  193.    questions about possible bugs in Lisp implementations
  194.    problems porting an implementation to some architecture
  195. Postings should be of general interest to the Lisp community. See also
  196. question [4-2].
  197.  
  198. Questions about object oriented programming in Lisp should be directed
  199. to the newsgroup comp.lang.clos. Similarly, questions about the
  200. programming language Scheme should be directed to the newsgroup
  201. comp.lang.scheme. Discussion of AI programs implemented in Lisp should
  202. sometimes be cross-posted to the newsgroup comp.ai.
  203.  
  204. ----------------------------------------------------------------
  205. [1-1] What documentation is available on Lisp? 
  206.       How can I learn Lisp?
  207.  
  208. There are several good Lisp introductions and tutorials:
  209.  
  210.    1. David S. Touretzky
  211.       "Common Lisp: A Gentle Introduction to Symbolic Computation"
  212.       Benjamin/Cummings Publishers, 1990. 384 pages.
  213.        Perhaps the best tutorial introduction to the language. It has
  214.        clear and correct explanations, and covers some fairly advanced
  215.        topics. The book is an updated Common Lisp version of the 1984
  216.        edition published by Harper and Row Publishers.
  217.  
  218.    2. Robert Wilensky
  219.       "Common LISPcraft"
  220.       W. W. Norton, 1986. 385 pages.
  221.  
  222.    3. Wade L. Hennessey 
  223.       "Common Lisp"
  224.       McGraw-Hill, 1989. 395 pages.
  225.        Fairly good, but jumps back and forth from the simple to the
  226.        complex rather quickly, with no clear progression in difficulty.
  227.  
  228.    4. Laurent Siklossy
  229.       "Let's Talk LISP"
  230.       Prentice-Hall, NJ, 1976. 237 pages.
  231.        Good introduction, but quite out of date.
  232.  
  233.    5. Stuart C. Shapiro
  234.       "Common Lisp: An Interactive Approach"
  235.       Computer Science Press/W.H. Freeman, New York, 1992.
  236.       ISBN 0-7167-8218-9
  237.  
  238. Other introductions to Lisp include:
  239.  
  240.    1. A. A. Berk.
  241.       "LISP, The Language of Artificial Intelligence"
  242.       Van Nostrand Reinhold, 1985. 160 pages.
  243.  
  244.    2. Paul Y. Gloess.
  245.       "An Alfred handy guide to Understanding LISP"
  246.       Alfred Publishers (Sherman Oaks, CA), 1982. 64 pages.
  247.  
  248.    3. Ward D. Maurer.
  249.       "The Programmer's Introduction to LISP"
  250.       American Elsevier, 1972. 112 pages.
  251.  
  252.    4. Hank Bromley and Richard Lamson.
  253.       "LISP Lore: A Guide to Programming the LISP Machine"
  254.       Kluwer Academic (Boston), 1987. 337 pages.
  255.  
  256.    5. Sharam Hekmatpour.
  257.       "Introduction to LISP and Symbol Manipulation"
  258.       Prentice Hall (New York), 1988. 303 pages.
  259.  
  260.    6. Deborah G. Tatar
  261.       "A programmer's guide to Common Lisp"
  262.       Digital Press, 1987. 327 pages. ISBN 0-932376-87-8.
  263.        Good introduction on Common Lisp.
  264.  
  265. More advanced introductions to Lisp and its use in Artificial
  266. Intelligence include:
  267.  
  268.    1. Peter Norvig.
  269.       "Paradigms of AI Programming: Case Studies in Common Lisp"
  270.       Morgan Kaufmann, 1992. 946 pages. ISBN 1-55860-191-0.
  271.  
  272.     Provides an in-depth exposition of advanced AI programming techniques
  273.     and includes large-scale detailed examples. The book is the most
  274.     advanced AI/Common-Lisp programming text and reference currently
  275.     available, and hence is not for the complete novice.  It focuses on the
  276.     programming techniques necessary for building large AI systems,
  277.     including object-oriented programming, and has a strong performance
  278.     orientation.
  279.  
  280.     The text is marked by its use of "non-toy" examples to illustrate the
  281.     techniques. All of the examples are written in Common Lisp, and copies
  282.     of the source code are available by anonymous ftp from
  283.     unix.sri.com:pub/norvig and on disk in Macintosh or DOS format from
  284.     the publisher. Some of the techniques described include rule-based
  285.     pattern matching (GPS, Eliza, a subset of Macsyma, the Emycin expert
  286.     system shell), constraint propagation and backtracking (Waltz
  287.     line-labelling), alpha-beta search (Othello), natural language
  288.     processing (top-down, bottom-up and chart parsing), logic-programming
  289.     (unification and Prolog), interpreters and compilers for Scheme, and
  290.     object-oriented programming (CLOS).
  291.  
  292.     The examples are also used to illustrate good programming style and
  293.     efficiency. There is a guide to trouble-shooting and debugging Lisp
  294.     programs, a style guide, and a discussion of portability problems.
  295.     Some of the efficiency techniques described include memoization,
  296.     data indexing, compilation, delaying computation, proper use of
  297.     declarations, avoiding garbage collection, and choosing and using the
  298.     correct data structure.
  299.  
  300.     The book also serves as an advanced introduction to Common Lisp, with
  301.     sections on the Loop macro, CLOS and sequences, and some coverage of 
  302.     error handling, series, and the package facility.
  303.  
  304.    2. Eugene Charniak, Christopher K. Riesbeck, Drew V. McDermott
  305.       and James R. Meehan.
  306.       "Artificial Intelligence Programming", 2nd edition.
  307.       Lawrence Erlbaum Associates (Hillsdale, NJ), 1987. 533 pages.
  308.        Provides many nice code fragments, all of which are written
  309.        in Common Lisp. The first half of the book covers topics
  310.        like macros, the reader, data structures, control structures,
  311.        and defstructs. The second half of the book describes
  312.        programming techniques specific to AI, such as
  313.        discrimination nets, production systems, deductive database
  314.        retrieval, logic programming, and truth maintenance.
  315.  
  316.    3. Patrick H. Winston and Berthold K. P. Horn.
  317.       "LISP", 3rd edition.
  318.       Addison-Wesley (Reading, MA), 1989. 611 pages. ISBN 0-201-08319-1
  319.        Covers the basic concepts of the language, but also gives a lot
  320.        of detail about programming AI topics such as rule-based expert
  321.        systems, forward chaining, interpreting transition trees, 
  322.        compiling transition trees and finding patterns in images. Not 
  323.        a tutorial. Has many good examples.
  324.  
  325.    4. Rodney A. Brooks.
  326.       "Programming in Common Lisp"
  327.       Wiley, 1985. 303 pages.
  328.  
  329.    5. John R. Anderson, Albert T. Corbett, and Brian J. Reiser.
  330.       "Essential LISP"
  331.       Addison-Wesley (Reading, MA), 1987. 352 pages.
  332.        Concentrates on how to use Lisp with iteration and recursion.
  333.  
  334.    6. Robert D. Cameron and Anthony H. Dixon
  335.       "Symbolic Computing with Lisp"
  336.       Prentice-Hall, 1992, 326 pages. ISBN 0-13-877846-9.
  337.        The book is intended primarily as a third-year computer science
  338.        text. In terms of programming techniques, it emphasizes recursion
  339.        and induction, data abstraction, grammar-based definition of Lisp
  340.        data structures and functional programming style. It uses
  341.        two Lisp languages: 
  342.         (1) a purely functional subset of Lisp called Small Lisp and
  343.         (2) Common Lisp.
  344.        An MS-DOS interpreter for Small Lisp (including source) is
  345.        provided with the book.  It considers applications of Lisp
  346.        to formal symbolic data domains: algebraic expressions,
  347.        logical formulas, grammars and programming languages. 
  348.  
  349.    7. Hasemer and Domingue.
  350.       "Common Lisp Programming for Artificial Intelligence"
  351.       Addison-Wesley, 1989.
  352.  
  353. General Lisp reference books include:
  354.  
  355.    1. Guy L. Steele
  356.       "Common Lisp: The Language" [CLtL1]
  357.       Digital Press, 1984. 465 pages. ISBN 0-932376-41-X.
  358.  
  359.    2. Guy L. Steele
  360.       "Common Lisp: The Language, 2nd Edition" [CLtL2]
  361.       Digital Press, 1990. 1029 pages. ISBN 1-55558-041-6.
  362.  
  363.    3. Franz Inc. 
  364.       "Common Lisp: The Reference"
  365.       Addison-Wesley, Reading, MA 1988. ISBN 0-201-11458-5
  366.        Entries on lisp functions in alphabetical order.
  367.  
  368.    4. K. Dybvig. 
  369.       "The Scheme programming language"
  370.       Prentice Hall, 1987.
  371.      Good reference for Scheme.
  372.  
  373. Lisp periodicals include:
  374.     
  375.    1. LISP Pointers.
  376.       Published by ACM SIGPLAN six times a year. Volume 1, Number 1
  377.       was April-May 1987. 
  378.  
  379.    2. LISP and Symbolic Computation, Kluwer Academic Press. Volume 1
  380.       was published in 1989. (jlz@lucid.com is the editor).
  381.  
  382.    3. Proceedings of the biannual ACM Lisp and Functional Programming
  383.       Conference. (First one was in 1980.)
  384.  
  385.    4. Proceedings of the annual Lisp Users and Vendors Conference.
  386.  
  387. Introductions to Scheme (Many books on Scheme are worth reading
  388. even if you use Common Lisp, because many of the issues are similar):
  389.  
  390.    1. Harold Abelson and Gerald Jay Sussman, with Julie Sussman.
  391.       "Structure and Interpretation of Computer Programs"
  392.       MIT Press (Cambridge, MA) and McGraw-Hill (New York), 1985.
  393.       542 pages. ISBN 0-262-01077-1
  394.        Starts off introductory, but rapidly gets into powerful
  395.        Lisp-particular constructs, such as using closures and
  396.        engines, building interpreters, compilers and
  397.        object-oriented systems.  
  398.  
  399.    2. Daniel P. Friedman and M. Felleisen.
  400.       "The Little LISPer"
  401.       Science Research Associates (Chicago), 1974. 58 pages.
  402.       MIT Press (Cambridge, MA), 1987. ISBN 0-262-56038-0.
  403.        Good for a quick introduction. Uses Scheme instead of
  404.        Common Lisp.     (SRA edition uses a dialect of Scheme with
  405.        footnotes about translating to Scheme or Common Lisp. The
  406.        MIT Press edition is in Scheme without the footnotes.)
  407.  
  408.    3. George Springer and Daniel P. Friedman
  409.       "Scheme and the Art of Programming" 
  410.       MIT Press and McGraw Hill, 1989, 400 pages.
  411.       MIT Press and McGraw Hill, 1990, 596 pages.
  412.        Introduces basic concepts of programming in Scheme. Also deals 
  413.        with object oriented programming, co-routining, continuations. 
  414.  
  415.    4. Wolfgang Kreutzer and Bruce McKenzie
  416.       "Programming for Artificial Intelligence: 
  417.        Methods, Tools and Applications"
  418.       Addison-Wesley (Reading, MA), 1990. 682 pages. 
  419.       ISBN 0-201-41621-2.
  420.        Discusses Scheme, Prolog, and Smalltalk, gives an overview of
  421.        the history and philosophy of AI, surveys three major
  422.        programming paradigms (procedural, declarative, and
  423.        object-oriented), and metaphors to AI programming.
  424.  
  425.    5. Smith
  426.       "Introduction to Scheme"
  427.        1988.
  428.        Focuses on PC Scheme.
  429.  
  430.    6. Michael Eisenberg 
  431.       "Programming in Scheme"
  432.       Scientific Press (Redwood City, CA), 1988. 304 pages.
  433.  
  434. ----------------------------------------------------------------
  435. [1-2] How can I improve my Lisp programming style and coding efficiency?
  436.  
  437. There are several books about Lisp programming style, including:
  438.    
  439.    1. Molly M. Miller and Eric Benson
  440.       "Lisp Style and Design"
  441.       Digital Press, 1990. 214 pages. ISBN 1-55558-044-0.
  442.        How to write large Lisp programs and improve Lisp programming 
  443.        style. Uses the development of Lucid CL as an example. 
  444.  
  445.    2. Robin Jones, Clive Maynard, and Ian Stewart.
  446.       "The Art of Lisp Programming"
  447.       Springer-Verlag, 1989. 169 pages.
  448.  
  449.    3. W. Richard Stark.
  450.       "LISP, Lore, and Logic: an algebraic view of LISP
  451.        programming, foundations, and applications"
  452.       Springer-Verlag, 1990. 278 pages. ISBN 0-387-97072-X
  453.        Self-modifying code, self-reproducing programs, etc.
  454.  
  455.    4. CMU CL User's Manual, Chapter 7, (talks about writing
  456.       efficient code). It is available by anonymous ftp from any CMU CS 
  457.       machine (e.g., ftp.cs.cmu.edu [128.2.206.173]) as the file
  458.     /afs/cs.cmu.edu/project/clisp/docs/cmu-user/cmu-user.ps 
  459.       [when getting this file by anonymous ftp, one must cd to 
  460.       the directory in one atomic operation, as some of the superior
  461.       directories on the path are protected from access by anonymous ftp.]
  462.  
  463.    5. See also Norvig's book, SICP (Abelson & Sussman), SAP
  464.       (Springer and Friedman).
  465.  
  466.    6. Hallvard Tretteberg's Lisp Style Guide is available by anonymous
  467.       ftp in ftp.think.com:/public/think/lisp/style-guide.text. There is
  468.       a fair bit of overlap between Hallvard's style guide and the notes
  469.       below and in part 3 of this FAQ.
  470.  
  471. Here are some general suggestions/notes about improving Lisp
  472. programming style, readability, correctness and efficiency:
  473.  
  474.    General Programming Style Rules:
  475.  
  476.       - Write short functions, where each function provides a single,
  477.         well-defined operation. Small functions are easier to
  478.     read, write, test, debug, and understand.
  479.  
  480.       - Use descriptive variable and function names. If it isn't clear
  481.         from the name of a function or variable what its purpose is,
  482.         document it with a documentation string and a comment. In fact,
  483.     even if the purpose is evident from the name, it is still worth
  484.     documenting your code.
  485.  
  486.       - Don't write Pascal (or C) code in Lisp. Use the appropriate
  487.         predefined functions -- look in the index to CLtL2, or use the
  488.         APROPOS and DESCRIBE functions. Don't put a close parenthesis
  489.     on a line by itself -- this can really aggravate programmers
  490.     who grew up on Lisp. Lisp-oriented text editors include tools
  491.     for ensuring balanced parentheses and for moving across 
  492.     pairs of balanced parentheses.
  493.  
  494.       - Use proper indentation -- you should be able to understand
  495.     the structure of your definitions without noticing the parentheses. 
  496.  
  497.    Functions often abused or misunderstood by novices: 
  498.  
  499.       - EVAL. Novices almost always misuse EVAL. When experts use
  500.     EVAL, they often would be better off using APPLY, FUNCALL, or
  501.     SYMBOL-VALUE. Use of EVAL when defining a macro should set off
  502.     a warning bell -- macro definitions are already evaluated
  503.     during expansion. 
  504.  
  505.       - PROGV. PROGV binds dynamic variables and is often misused in
  506.     conjunction with EVAL, which uses the dynamic environment. 
  507.     In general, avoid unnecessary use of special variables.
  508.     PROGV is mainly for writing interpreters for languages embedded
  509.     in Lisp. If you want to bind a list of values to a list of
  510.     lexical variables, use
  511.         (multiple-value-bind (..) (values-list ..))
  512.     or
  513.         (multiple-value-setq (..) (values-list ..))
  514.      instead. Most decent compilers can optimize this expression. 
  515.     However, use of this idiom is not to be encouraged unless absolutely
  516.     necessary.
  517.  
  518.       - CATCH and THROW. Often a named BLOCK and RETURN-FROM are
  519.     more appropriate. Use UNWIND-PROTECT when necessary.
  520.  
  521.       - Destructive operations, such as NCONC, SORT, DELETE,
  522.     RPLACA, and RPLACD, should be used carefully and sparingly.
  523.     In general, trust the garbage collector: allocate new
  524.     data structures when you need them.
  525.  
  526.    Think twice before using any of these functions.
  527.  
  528.    To improve the readability of your code,
  529.  
  530.       - Don't use any C{A,D}R functions with more than two
  531.     letters between the C and the R. When nested, they become
  532.     hard to read. If you have complex data structures, you
  533.     are often better off describing them with a DEFSTRUCT,
  534.     even if the type is LIST. If you must use C{A,D}R, try to
  535.     use destructuring-bind instead, or at least SECOND, THIRD,
  536.     NTH, NTHCDR, etc.
  537.  
  538.       - Use COND instead of IF and PROGN. In general, don't use PROGN if
  539.     there is a way to write the code within an implicit
  540.     progn. For example, 
  541.        (if (foo x)
  542.            (progn (print "hi there") 23)
  543.            34)
  544.     should be written using COND instead.
  545.  
  546.       - Never use a 2-argument IF or a 3-argument IF with a second
  547.     argument of NIL unless you want to emphasize the return value;
  548.     use WHEN and UNLESS instead. You will want to emphasize the
  549.     return value when the IF clause is embedded within a SETQ,
  550.     such as (setq x (if (eq y z) 2 nil)). If the second argument 
  551.     to IF is the same as the first, use OR instead: (or p q) rather
  552.     than (if p p q). Use UNLESS instead of (when (not ..) ..)
  553.     but not instead of (when (null ..) ..).
  554.  
  555.       - Use COND instead of nested IF statements. Be sure to check for
  556.     impossible cases, and eliminate those cond-clauses.
  557.  
  558.       - Use backquote, rather than explicit calls to LIST, CONS, and
  559.     APPEND, whenever writing a form which produces a Lisp form.
  560.  
  561.       - Make the names of special (global) variables begin and end
  562.     with an asterisk (*): (defvar *global-variable*)   
  563.     Some programmers will mark the beginning and end of an internal
  564.     global variable with a percent (%) or a period (.).
  565.         Make the names of constants begin and end with a plus (+):
  566.     (defconstant +e+ 2.7182818)
  567.     This helps distinguish them from lexical variables. Some people
  568.     prefer to use macros to define constants, since this avoids
  569.     the problem of accidentally trying to bind a symbol declared
  570.     with defconstant.
  571.  
  572.       - Don't use property lists. Instead, use an explicit hash table.
  573.     This helps avoid problems caused by the symbol being in the wrong
  574.     package, accidental reuse of property keys from other
  575.     programs, and allows you to customize the structure of the table. 
  576.  
  577.       - Use the most specific construct that does the job. This lets
  578.         readers of the code see what you intended when writing the code.
  579.     For example, don't use SETF if SETQ will do (e.g., for lexical
  580.     variables). Use the most specific predicate to test your conditions.
  581.     If you intend for a function to be a predicate, have it return T
  582.     for true, not just non-NIL. 
  583.  
  584.       - When NIL is used as an empty list, use () in your code. When NIL
  585.     is used as a boolean, use NIL. Similarly, use NULL to test for an
  586.         empty list, NOT to test a logical value. Use ENDP to test for the
  587.     end of a list, not NULL.
  588.  
  589.       - Don't use the &AUX lambda-list keyword. It is always clearer to
  590.     define local variables using LET or LET*.
  591.  
  592.       - When using RETURN and RETURN-FROM to exit from a block, don't
  593.     use (values ..) when returning only one value, except if you
  594.     are using it to suppress extra multiple values from the first
  595.     argument. 
  596.  
  597.       - If you want a function to return no values (i.e., equivalent to
  598.     VOID in C), use (values) to return zero values. This signals
  599.     to the reader that the function is used mainly for side-effects.
  600.  
  601.       - (values (values 1 2 3)) returns only the first value, 1.
  602.         You can use (values (some-multiple-value-function ..)) to suppress
  603.     the extra multiple values from the function. Use MULTIPLE-VALUE-PROG1
  604.     instead of PROG1 when the multiple values count.
  605.  
  606.       - When using MULTIPLE-VALUE-BIND and DESTRUCTURING-BIND, don't rely
  607.     on the fact that NIL is used when values are missing. This is
  608.     an error in some implementations of DESTRUCTURING-BIND. Instead,
  609.     make sure that your function always returns the proper number of
  610.     values.
  611.  
  612.     Documentation:
  613.  
  614.       - Comment your code. Use three semicolons in the left margin before
  615.     the definition for major explanations. Use two semicolons that
  616.     float with the code to explain the routine that follows. Use
  617.     a single semicolon to the right of the code to explain a particular
  618.     line with a short comment. The number of semicolons used roughly
  619.     corresponds with the length of the comment. Put at least one blank
  620.     line before and after top-level expressions.
  621.  
  622.       - Include documentation strings in your code. This lets users
  623.         get help while running your program without having to resort to
  624.         the source code or printed documentation. 
  625.  
  626.    Issues related to macros:
  627.  
  628.       - Never use a macro instead of a function for efficiency reasons.
  629.         Declaim the function as inline -- for example, 
  630.       (declaim (inline ..))
  631.  
  632.       - When defining a macro that provides an implicit progn, use the
  633.     &body lambda-list keyword instead of &rest.
  634.  
  635.       - Use gensyms for bindings within a macro, unless the macro lets
  636.         the user explicitly specify the variable. For example:
  637.         (defmacro foo ((iter-var list) body-form &body body)
  638.           (let ((result (gensym "RESULT")))
  639.         `(let ((,result nil))
  640.            (dolist (,iter-var ,list ,result)
  641.              (setq ,result ,body-form)
  642.              (when ,result
  643.             ,@body)))))       
  644.         This avoids errors caused by collisions during macro expansion
  645.     between variable names used in the macro definition and in the
  646.     supplied body.
  647.  
  648.       - Use a DO- prefix in the name of a macro that does some kind of
  649.     iteration, WITH- when the macro establishes bindings, and
  650.     DEFINE- or DEF- when the macro creates some definitions. Don't
  651.     use the prefix MAP- in macro names, only in function names.
  652.  
  653.       - Don't create a new iteration macro when an existing function
  654.     or macro will do.
  655.  
  656.       - Don't define a macro where a function definition will work just
  657.     as well -- remember, you can FUNCALL or MAPCAR a function but 
  658.     not a macro.
  659.  
  660.       - The LOOP and SERIES macros generate efficient code. If you're
  661.     writing a new iteration macro, consider learning to use one
  662.     of them instead.
  663.  
  664.    Stylistic preferences:
  665.  
  666.       - Use (SETF (CAR ..) ..) and (SETF (CDR ..) ..) in preference to
  667.     RPLACA and RPLACD. Likewise (SETF (GET ..) ..) instead of PUT.
  668.  
  669.       - Use INCF, DECF, PUSH and POP instead instead of the corresponding
  670.     SETF forms.
  671.  
  672.       - Many programmers religiously avoid using CATCH, THROW, BLOCK,
  673.     PROG, GO and TAGBODY.  Tags and go-forms should only be necessary
  674.     to create extremely unusual and complicated iteration constructs. In
  675.     almost every circumstance, a ready-made iteration construct or
  676.     recursive implementation is more appropriate.
  677.  
  678.       - Don't use LET* where LET will do. Don't use LABELS where FLET
  679.     will do. Don't use DO* where DO will do.
  680.  
  681.       - Don't use DO where DOTIMES or DOLIST will do.
  682.  
  683.       - If you like using MAPCAR instead of DO/DOLIST, use MAPC when
  684.     no result is needed -- it's more efficient, since it doesn't
  685.     cons up a list. If a single cumulative value is required, use
  686.     REDUCE. If you are seeking a particular element, use FIND,
  687.     POSITION, or MEMBER.
  688.  
  689.       - If using REMOVE and DELETE to filter a sequence, don't use the
  690.     :test-not keyword or the REMOVE-IF-NOT or DELETE-IF-NOT functions.
  691.     Use COMPLEMENT to complement the predicate and the REMOVE-IF
  692.     or DELETE-IF functions instead.
  693.  
  694.       - Use complex numbers to represent points in a plane.
  695.  
  696.       - Don't use lists where vectors are more appropriate. Accessing the
  697.     nth element of a vector is faster than finding the nth element
  698.     of a list, since the latter requires pointer chasing while the
  699.     former requires simple addition. Vectors also take up less space
  700.     than lists. Use adjustable vectors with fill-pointers to
  701.     implement a stack, instead of a list -- using a list continually
  702.     conses and then throws away the conses.
  703.  
  704.       - When adding an entry to an association list, use ACONS, not
  705.     two calls to CONS. This makes it clear that you're using an alist.
  706.  
  707.       - If your association list has more than about 10 entries in it,
  708.     consider using a hash table. Hash tables are often more efficient.
  709.  
  710.       - When you don't need the full power of CLOS, consider using
  711.     structures instead. They are often faster, take up less space, and
  712.     easier to use.
  713.  
  714.       - Use PRINT-UNREADABLE-OBJECT when writing a print-function.
  715.  
  716.       - Use WITH-OPEN-FILE instead of OPEN and CLOSE.
  717.  
  718.       - When a HANDLER-CASE clause is executed, the stack has already
  719.     unwound, so dynamic bindings that existed when the error
  720.     occured may no longer exist when the handler is run. Use
  721.     HANDLER-BIND if you need this. 
  722.  
  723.       - When using CASE and TYPECASE forms, if you intend for the form
  724.     to return NIL when all cases fail, include an explicit OTHERWISE
  725.     clause. If it would be an error to return NIL when all cases
  726.     fail, use ECASE, CCASE, ETYPECASE or CTYPECASE instead.
  727.  
  728.       - Use local variables in preference to global variables whenever
  729.     possible. Do not use global variables in lieu of parameter passing.
  730.         Global variables can be used in the following circumstances:
  731.       *  When one function needs to affect the operation of
  732.          another, but the second function isn't called by the first.
  733.          (For example, *load-pathname* and *break-on-warnings*.)
  734.           *  When a called function needs to affect the current or future
  735.          operation of the caller, but it doesn't make sense to accomplish
  736.          this by returning multiple values.
  737.       *  To provide hooks into the mechanisms of the program.
  738.          (For example, *evalhook*, *, /, and +.)
  739.       *  Parameters which, when their value is changed, represent a
  740.          major change to the program.
  741.          (For example, *print-level* and *print-readably*.)
  742.       *  For state that persists between invocations of the program.
  743.          Also, for state which is used by more than one major program.
  744.              (For example, *package*, *readtable*, *gensym-counter*.)
  745.           *  To provide convenient information to the user.
  746.          (For example, *version* and *features*.)
  747.       *  To provide customizable defaults. 
  748.          (For example, *default-pathname-defaults*.)
  749.           *  When a value affects major portions of a program, and passing
  750.          this value around would be extremely awkward. (The example
  751.          here is output and input streams for a program. Even when
  752.          the program passes the stream around as an argument, if you
  753.          want to redirect all output from the program to a different
  754.          stream, it is much easier to just rebind the global variable.)
  755.  
  756.    Correctness and efficiency issues:
  757.  
  758.       - In CLtL2, IN-PACKAGE does not evaluate its argument. Use defpackage
  759.     to define a package and declare the external (exported)
  760.     symbols from the package. 
  761.  
  762.       - The ARRAY-TOTAL-SIZE-LIMIT may be as small as 1024, and the
  763.         CALL-ARGUMENTS-LIMIT may be as small as 50. 
  764.  
  765.       - Novices often mistakenly quote the conditions of a CASE form.
  766.     For example, (case x ('a 3) ..) is incorrect. It would return
  767.     3 if x were the symbol 'QUOTE. Use (case x (a 3) ..) instead.
  768.  
  769.       - Avoid using APPLY to flatten lists. (apply #'append list-of-lists)
  770.     is compiled into a function call, and can run into problems with
  771.     the CALL-ARGUMENTS-LIMIT. Use REDUCE or MAPCAR instead:
  772.        (reduce #'append list-of-lists :from-end t)
  773.        (mapcan #'copy-list list-of-lists)
  774.     The second will often be more efficient (see note below about choosing
  775.     the right algorithm). Beware of calls like (apply f (mapcar ..)).
  776.  
  777.       - NTH must cdr down the list to reach the elements you are
  778.     interested in. If you don't need the structural flexibility of
  779.     lists, try using vectors and the ELT function instead.
  780.  
  781.       - Don't use quoted constants where you might later destructively
  782.     modify them. For example, instead of writing '(c d) in
  783.        (defun foo ()
  784.          (let ((var '(c d)))
  785.            ..))
  786.     write (list 'c 'd) instead. Using a quote here can lead to
  787.     unexpected results later. If you later destructively modify the 
  788.     value of var, this is self-modifying code! Some Lisp compilers
  789.     will complain about this, since they like to make constants
  790.     read-only. Modifying constants has undefined results in ANSI CL.
  791.     See also the answer to question [3-13].
  792.  
  793.     Similarly, beware of shared list structure arising from the use
  794.     of backquote. Any sublist in a backquoted expression that doesn't
  795.     contain any commas can share with the original source structure.
  796.  
  797.       - Don't proclaim unsafe optimizations, such as
  798.        (proclaim '(optimize (safety 0) (speed 3) (space 1))) 
  799.     since this yields a global effect. Instead, add the
  800.     optimizations as local declarations to small pieces of
  801.     well-tested, performance-critical code:
  802.        (defun well-tested-function ()
  803.           (declare (optimize (safety 0) (speed 3) (space 1)))
  804.          ..)
  805.     Such optimizations can remove run-time type-checking, which
  806.     is necessary unless you've very carefully checked your code
  807.     and added all the appropriate type declarations.
  808.  
  809.       - Don't add declarations to code until it is fully debugged.
  810.     Incorrect declarations can be an annoying source of errors.
  811.     Use CHECK-TYPE liberally while developing code, if you later
  812.     intend to add declarations. Don't change the compiler
  813.     optimization with an OPTIMIZE proclamation or declaration
  814.     until the code is fully debugged and profiled. 
  815.  
  816.       - Depending on the optimization level of the compiler, type
  817.     declarations are interpreted either as (1) a guarantee from
  818.     you that the variable is always bound to values of that type,
  819.     or (2) a desire that the compiler check that the variable is
  820.     always bound to values of that type. Use CHECK-TYPE if (2) is
  821.     your intention.
  822.  
  823.       - If you get warnings about unused variables, add ignore
  824.     declarations if appropriate or fix the problem. Letting such
  825.     warnings stand is a sloppy coding practice.
  826.  
  827.    To produce efficient code,
  828.  
  829.       - choose the right algorithm. For example, consider seven possible
  830.     implementations of COPY-LIST:
  831.  
  832.        (defun copy-list (list)
  833.          (let ((result nil))
  834.            (dolist (item list result)
  835.          (setf result (append result (list item))))))
  836.  
  837.        (defun copy-list (list)
  838.          (let ((result nil))
  839.            (dolist (item list (nreverse result))
  840.          (push item result))))
  841.  
  842.        (defun copy-list (list)
  843.          (mapcar #'identity list))
  844.  
  845.        (defun copy-list (list)
  846.          (let ((result (make-list (length list))))
  847.            (do ((original list (cdr original))
  848.             (new result (cdr new)))
  849.            ((null original) result)
  850.          (setf (car new) (car original)))))
  851.  
  852.        (defun copy-list (list)
  853.          (when list
  854.            (let* ((result (list (car list)))
  855.               (tail-ptr result))
  856.          (dolist (item (cdr list) result)
  857.            (setf (cdr tail-ptr) (list item))
  858.            (setf tail-ptr (cdr tail-ptr))))))
  859.     
  860.         (defun copy-list (list)
  861.           (loop for item in list collect item))
  862.  
  863.         (defun copy-list (list)
  864.           (if (consp list) 
  865.           (cons (car list)
  866.             (copy-list (cdr list)))
  867.           list))
  868.  
  869.     The first uses APPEND to tack the elements onto the end of the list.
  870.     Since APPEND must traverse the entire partial list at each step, this
  871.     yields a quadratic running time for the algorithm.  The second
  872.     implementation improves on this by iterating down the list twice; once
  873.     to build up the list in reverse order, and the second time to reverse
  874.     it. The efficiency of the third depends on the Lisp implementation,
  875.     but it is usually similar to the second, as is the fourth.  The fifth
  876.     algorithm, however, iterates down the list only once. It avoids the
  877.     extra work by keeping a pointer (reference) to the last cons of the 
  878.     list and RPLACDing onto the end of that. Use of the fifth algorithm 
  879.     may yield a speedup. Note that this contradicts the earlier dictum to
  880.     avoid destructive functions. To make more efficient code one might
  881.     selectively introduce destructive operations in critical sections of
  882.     code. Nevertheless, the fifth implementation may be less efficient in
  883.     Lisps with cdr-coding, since it is more expensive to RPLACD cdr-coded
  884.     lists. Depending on the implementation of nreverse, however,
  885.     the fifth and second implementations may be doing the same
  886.     amount of work. The sixth example uses the Loop macro, which usually
  887.     expands into code similar to the third. The seventh example copies
  888.     dotted lists, and runs in linear time. It's equivalent to the other
  889.     linear-time examples in a lisp that is properly tail-recursive. To
  890.     get an implementation of copy-tree, replace (car list) with
  891.     (copy-list (car list)).
  892.  
  893.       - use type declarations liberally in time-critical code, but
  894.     only if you are a seasoned Lisp programmer. Appropriate type
  895.     declarations help the compiler generate more specific and
  896.     optimized code. It also lets the reader know what assumptions
  897.     were made. For example, if you only use fixnum arithmetic,
  898.     adding declarations can lead to a significant speedup. If you
  899.     are a novice Lisp programmer, you should use type declarations
  900.     sparingly, as there may be no checking to see if the
  901.     declarations are correct. Wrong declarations can lead to errors
  902.     in otherwise correct code, and can limit the reuse of code
  903.     in other contexts. Depending on the Lisp compiler, it may also
  904.     be necessary to declare the type of results using THE, since
  905.     some compilers don't deduce the result type from the inputs.
  906.  
  907.       - check the code produced by the compiler by using the
  908.     disassemble function
  909.  
  910. ----------------------------------------------------------------
  911. [1-3] Where can I learn about implementing Lisp interpreters and compilers?
  912.  
  913. Books about Lisp implementation include:
  914.  
  915.    1. John Allen
  916.       "Anatomy of Lisp"
  917.       McGraw-Hill, 1978. 446 pages. ISBN 0-07-001115-X
  918.  
  919.    2. Samuel Kamin
  920.       "Programming Languages, An Interpreter-Based Approach"
  921.       Addison-Wesley. ISBN 0-201-06824-9
  922.        Includes sources to several interpreters for Lisp-like
  923.        languages, and a pointer to sources via anonymous ftp.
  924.  
  925.    3. Sharam Hekmatpour
  926.       "Lisp: A Portable Implementation"
  927.       Prentice Hall, 1985. ISBN 0-13-537490-X.
  928.        Describes a portable implementation of a small dynamic
  929.        Lisp interpreter (including C source code). 
  930.  
  931.    4. Peter Henderson
  932.       "Functional Programming: Application and Implementation"
  933.       Prentice-Hall (Englewood Cliffs, NJ), 1980. 355 pages.
  934.  
  935.    5. Peter M. Kogge
  936.       "The Architecture of Symbolic Computers"
  937.       McGraw-Hill, 1991. ISBN 0-07-035596-7.
  938.        Includes sections on memory management, the SECD and
  939.        Warren Abstract Machines, and overviews of the various
  940.        Lisp Machine architectures.
  941.    
  942.    6. Daniel P. Friedman, Mitchell Wand, and Christopher T. Haynes
  943.       "Essentials of Programming Languages"
  944.       MIT Press, 1992, 536 pages. ISBN 0-262-06145-7.
  945.        Teaches fundamental concepts of programming language
  946.        design by using small interpreters as examples. Covers
  947.        most of the features of Scheme. Includes a discussion
  948.        of parameter passing techniques, object oriented languages,
  949.        and techniques for transforming interpreters to allow
  950.        their implementation in terms of any low-level language.
  951.        Also discusses scanners, parsers, and the derivation of
  952.        a compiler and virtual machine from an interpreter.
  953.  
  954.    7. Also see the proceedings of the biannual ACM Lisp and
  955.       Functional Programming conferences, and the implementation
  956.       notes for CMU Common Lisp.
  957. ----------------------------------------------------------------
  958. [1-4]  What does CLOS, PCL, X3J13, CAR, CDR, ... mean? 
  959.  
  960. Glossary of acronyms:
  961.    CAR           Originally meant "Contents of Address portion of Register",
  962.            which is what CAR actually did on the IBM 704.
  963.    CDR           Originally meant "Contents of Decrement portion of 
  964.            Register", which is what CDR actually did
  965.            on the IBM 704. Pronounced "Cudder".
  966.    LISP           Originally from "LISt Processing"
  967.    GUI           Graphical User Interface
  968.    CLOS           Common Lisp Object System. The object oriented
  969.            programming standard for Common Lisp. Based on
  970.            Symbolics FLAVORS and Xerox LOOPS, among others.
  971.            Pronounced either as "See-Loss" or "Closs". See also PCL.
  972.    PCL           Portable Common Loops. A portable CLOS implementation.
  973.            Available by anonymous ftp from parcftp.xerox.com:pcl/.
  974.    LOOPS       Lisp Object Oriented Programming System. A predecessor
  975.            to CLOS on Xerox Lisp machines.
  976.    X3J13       Subcommittee of the ANSI committee X3 which is
  977.            working on the ANSI Standardization of Common Lisp.
  978.    ANSI           American National Standards Institute
  979.    CL           Common Lisp
  980.    SC22/WG16       The full name is ISO/IEC JTC 1/SC 22/WG 16. It stands
  981.            for International Organization for
  982.            Standardization/International Electronics(?)     
  983.            Congress(?) Joint Technical Committee 1, Subcommittee 22,
  984.            Working Group 16.  This long-winded name is the ISO
  985.            working group working on an international Lisp standard,
  986.            (i.e., the ISO analogue to X3J13).
  987.    CLtL1       First edition of Guy Steele's book, 
  988.            "Common Lisp the Language". 
  989.    CLtL2       Second edition of Guy Steele's book,
  990.            "Common Lisp the Language". 
  991.  
  992.    SICP           Abelson and Sussman's book "Structure and
  993.            Interpretation of Computer Programs".
  994.    SCOOPS       An experimental object-oriented programming
  995.            language for Scheme.
  996.    R3RS           Revised^3 Report on the Algorithmic Language Scheme.
  997.    R4RS           Revised^4 Report on the Algorithmic Language Scheme.
  998. ----------------------------------------------------------------
  999. [1-5]   Where can I get a copy of the draft ANSI standard for Common Lisp?
  1000.  
  1001. The draft proposed American National Standard for Common Lisp is under
  1002. public review until November 23, 1992. 
  1003.  
  1004. Hard copies of the draft may be purchased from Global Engineering
  1005. Documents, Inc., 2805 McGaw Avenue, Irvine, CA  92714, 1-800-854-7179,
  1006. 714-261-1455 for a single copy price of $80 ($104 international).
  1007. Copies of the TeX sources and Unix-compressed DVI files may be
  1008. obtained by anonymous FTP from parcftp.xerox.com in the directory
  1009. /pub/cl/document/*. The file Reviewer-Notes.text should be read before
  1010. ftp'ing the other files.
  1011.  
  1012. Comments on the draft must be submitted in hard copy format to both X3
  1013. Secretariat, Attn: Lynn Barra, 1250 Eye Street NW, Suite 200,
  1014. Washington, DC 20005-3922 and American National Standards Institute,
  1015. Attn: BSR Center, 11 West 42nd St. 13th Floor, New York, NY 10036.
  1016.  
  1017. ----------------------------------------------------------------
  1018.      
  1019. ;;; ********************************
  1020. ;;; Change Log *********************
  1021. ;;; ********************************
  1022. ;;; Date      Who     Ver   Reason
  1023. ;;; ------------------------------------------------------------
  1024. ;;;  7-FEB-92 mk      1.0   Initial release.
  1025. ;;; 10-FEB-92 mk      1.1   Pre-release corrections and additions.
  1026. ;;; 10-FEB-92 mk      1.11  Minor changes from Arun Welch, Mitch Marks, 
  1027. ;;;                Mike Meyer, Matthias Felleisen, and John Gateley.
  1028. ;;; 11-FEB-92 mk      1.12  Corrections by John Carroll, Jason Trenouth, Joel
  1029. ;;;                Riedesel, David Neves, Lawrence Mayka and
  1030. ;;;                Bruce Miller.
  1031. ;;; 13-FEB-92 mk      1.13  Renumbering. Split into 3 files. Some more FAQs.
  1032. ;;; 23-MAR-92 mk      1.14  Updated various FTP entries, bug in EXPLODE.
  1033. ;;;                Updated harlequin entry.
  1034. ;;; 25-MAR-92 mk      1.15  Added question [2-18]: saving data and CLOS
  1035. ;;;                instances to disk for later retrieval.
  1036. ;;;  1-MAY-92 mk      1.17  Added entry for Feel to question [1-5]. Updated CMU
  1037. ;;;                ftp machines to point to ftp.cs.cmu.edu. Fixed CMU
  1038. ;;;                CL entry to be approximately version independent.
  1039. ;;;                         Revised entry on Garnet. uunet.uu.net -> ftp.uu.net
  1040. ;;; 12-MAY-92 mk      1.18  Split questions 1-5, 1-6, and 1-7 into part 4,
  1041. ;;;                         which is now cross-posted to comp.lang.scheme, and
  1042. ;;;                         questions 1-8, 2-3, 2-9 and 2-18 into part 5 which
  1043. ;;;                         is now cross-posted to comp.lang.clos.
  1044. ;;;                         Added detail to Norvig entry in 1-1.
  1045. ;;;                         Updated entries for several Lisp implementations.
  1046. ;;; 26-MAY-92 mk      1.19  Changed 5-2 on the basis of comments by Jeff Greif.
  1047. ;;; 29-MAY-92 mk      1.20  Added question [2-17] about lisp sockets.
  1048. ;;; 16-JUN-92 mk      1.21  Moved the question about object oriented
  1049. ;;;                         programming references to part 5 of the FAQ.
  1050. ;;;                         Entry on Dylan. Addition to MIT Scheme entry
  1051. ;;;                         regarding Schematik.
  1052. ;;; 22-JUN-92 mk            Updated SOAR entry.
  1053. ;;; 24-JUN-92 mk            Fixed MCL entry to note that CLIM is available 
  1054. ;;;                         from ILA, not via Apple.
  1055. ;;; 25-JUN-92 mk      1.22  Added question [2-18].
  1056. ;;; 17-JUL-92 mk            Added entry on PSD (Portable Scheme Debugger).
  1057. ;;; 20-JUL-92 mk            Updated entry on T3.1
  1058. ;;; 30-JUL-92 mk            Added entry on XIT to question 2-2.
  1059. ;;;  3-AUG-92 mk            Updated PC-Scheme entry (bought by Ibuki).
  1060. ;;;  6-AUG-92 mk      1.23  Merged in Jeff Dalton's pitfalls list.
  1061. ;;; 19-AUG-92 mk            Added entry on FOCL. Move three questions from 
  1062. ;;;                         part 2 to part 3, to keep part 2 under 64k.
  1063. ;;; 26-AUG-92 mk            Added some items from Hallvard Tretteberg's
  1064. ;;;                         Lisp style guide.
  1065. ;;; 31-AUG-92 mk            Updated entries for CMU CL and SIOD.
  1066. ;;;  8-SEP-92 mk            Added entry on VSCM to part 4. Added entry on
  1067. ;;;                         Pixie Scheme, Help, and Le-Lisp.
  1068. ;;; ------------------------------------------------------------
  1069.  
  1070. ;;; *EOF*
  1071.