home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / CLISP / CLISPSRC.TAR / clisp-1995-01-01 / dos / README < prev    next >
Encoding:
Text File  |  1992-11-14  |  4.3 KB  |  159 lines

  1. This is CLISP, a Common Lisp implementation.
  2.  
  3.  
  4. What is LISP?
  5. -------------
  6.  
  7. LISP is a programming language. It was invented by J. McCarthy in 1959.
  8. There have been many dialects of it, but nowadays LISP has been standardized
  9. and wide-spread due to the industrial standard COMMON LISP. There are
  10. applications in the domains of symbolic knowledge processing (AI), numerical
  11. mathematics (MACLISP yielded numerical code as good as FORTRAN), and
  12. widely used programs like editors (EMACS) and CAD (AUTOCAD).
  13. There is an introduction to the language:
  14.  
  15.   Sheila Hughes: Lisp. Pitman Publishing Limited, London 1986.
  16.   107 pages.
  17.  
  18. After a while wou will need the standard text containing the language
  19. definition:
  20.  
  21.   Guy L. Steele Jr.: Common Lisp - The Language. Digital Press.
  22.   1. edition 1984, 465 pages.
  23.   2. edition 1990, 1032 pages.
  24.  
  25. LISP is run in an interactive environment. You input forms, and they will be
  26. evaluated at once. Thus you can inspect variables, call functions with given
  27. arguments or define your own functions.
  28.  
  29.  
  30. Contents:
  31. ---------
  32.  
  33. It consists of the following files:
  34.  
  35.       lisp.exe         main program
  36.       lispinit.mem     memory image needed for startup
  37.       clisp.1          manual page in Unix man format
  38.       clisp.man        manual page
  39.       impnotes.txt     implementation notes
  40.       emx-user.doc     emx applications user's guide
  41.       README           this text
  42.       ANNOUNCE         announcement
  43.       COPYRIGHT        copyright notice
  44.       GNU-GPL          free software license
  45.       config.lsp       site-dependent configuration
  46.  
  47. and - to your convenience, if you like reading source -
  48.  
  49.       *.lsp            the source of lispinit.mem
  50.       *.fas            the same files, already compiled
  51.  
  52.  
  53. Installation:
  54. -------------
  55.  
  56. Edit the contents of config.lsp appropriately for your site,
  57. especially the definitions of short-site-name and long-site-name.
  58.  
  59. Then start
  60.  
  61.          lisp -M lispinit.mem
  62.  
  63. When the LISP prompt
  64.  
  65.       > _
  66.  
  67. appears, type
  68.  
  69.         (compile-file "config")
  70.         (load "config")
  71.  
  72. and then
  73.  
  74.         (saveinitmem)
  75.  
  76. to overwrite the file lispinit.mem with your configuration. Then
  77.  
  78.         (exit)
  79.  
  80. Then create a directory, and put the executable and the memory image there.
  81. Assuming D:\LIB\LISP :
  82.  
  83.    mkdir d:\lib\lisp
  84.    copy lisp.exe d:\lib\lisp
  85.    copy lispinit.mem d:\lib\lisp
  86.  
  87. And create a batch file that starts lisp:
  88.  
  89.    copy con c:\bat\clisp.bat
  90.    d:\lib\lisp\lisp.exe -M d:\lib\lisp\lispinit.mem %1 %2 %3 %4 %5 %6 %7 %8 %9
  91.    [Ctrl-Z]
  92.  
  93.  
  94. The editor:
  95. -----------
  96.  
  97. Normally CLISP's ED function calls the editor you specified in config.lsp.
  98. However, after you did
  99.  
  100.     (load "editor")
  101.  
  102. it invokes a builtin screen editor. It is a bit Emacs-like: you can evaluate
  103. lisp expressions from within the editor, and the result is pasted into the
  104. editor buffer. Type Alt-H to see the full set of commands.
  105.  
  106.  
  107. When you encounter problems:
  108. ----------------------------
  109.  
  110. If clisp doesn't start up at all, check EMX-USER.DOC. lisp.exe is an EMX
  111. application, so everything mentioned there applies to lisp.exe.
  112.  
  113. After errors, you are in the debugger:
  114.  
  115.      1. Break> _
  116.  
  117. You can evaluate forms, as usual. Furthermore:
  118.  
  119.      Help
  120.                calles help
  121.      Abort     or
  122.      Unwind
  123.                climbs up to next higher input loop
  124.      (show-stack)
  125.                shows the contents of the stack, helpful for debugging
  126.  
  127. And you can look at the values of the variables of the functions where the
  128. error occurred.
  129.  
  130. On bigger problems, e.g. register dumps, please send a description of the error
  131. and how to produce it reliably to the authors.
  132.  
  133.  
  134. Acknowledgement:
  135. ----------------
  136.  
  137. If you find CLISP fast and bug-free and you like using it, a gift of $25
  138. (or any amount you like) will be appreciated. Most DOS software costs
  139. something, so you will probably already be used to paying.
  140.  
  141. If not, feel free to send us suggestions for improvement. Or grab the
  142. source of CLISP, improve it yourself and send me your patches.
  143.  
  144. We are indebted to
  145.   * Richard Stallman's GNU project for GCC and the readline library.
  146.   * Eberhard Mattes for EMX.
  147.  
  148.  
  149. Authors:
  150. --------
  151.  
  152.         Bruno Haible                    Michael Stoll
  153.         Augartenstraâ–€e 40               Gallierweg 39
  154.     D - W 7500 Karlsruhe 1          D - W 5300 Bonn 1
  155.         Germany                         Germany
  156.  
  157. Email: haible@ma2s2.mathematik.uni-karlsruhe.de
  158.  
  159.