2. A tour of the REPL

Created Tuesday 28 January 2014

http://www.gigamonkeys.com/book/lather-rinse-repeat-a-tour-of-the-repl.html

  1. Some Emacs key shortcuts:
    1. C-h t — tutorial
    2. C-h i — manual
    3. C-h ? — complete list
    4. C-h k — type key combo for command
    5. C-h w — type a name of command for key combination
    6. C-x b — prompts for a name of a buffer
    7. C-c C-z — switch to the Lisp interaction buffer
    8. C-x C-f — create a new file
    9. C-c C-q — slime-close-parents-at-point
    10. C-c C-c — slime-compile-defun, recompile definitions
    11. C-x C-s — save-buffer
    12. M-x slime — start/restart SLIME
    13. q — exit debugger
  2. REPL — read-eval-print loop
  3. Extensions for Common Lisp source files:
    1. .lisp
    2. .cl
  4. Load the whole file
    1. (load "hello.lisp") — OR:
    2. C-c C-l — slime-load-file
  5. Load with compiling:
    1. (load (compile-file "hello.lisp")) — OR:
      1. fasl — fast-load file
    2. C-c C-k — compile and load file represented by the current buffer

http://www.common-lisp.net/project/slime/doc/html/Evaluation.html
C-c C-r — evaluate region



Backlinks: