Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 51 lines (32 sloc) 1.544 kb
30472ce @nickg Add a README file
authored
1 A SWANK server for Chicken Scheme.
2
b3d5dd6 @nickg Add new blog post link to README
authored
3 See:
4 http://www.doof.me.uk/2010/12/12/using-slime-with-chicken-scheme/
5 http://www.doof.me.uk/2011/01/01/update-to-chicken-swank-server/
0dc850d @nickg Update README
authored
6 http://www.doof.me.uk/2011/01/02/chicken-slime-describe-and-apropos/
b3d5dd6 @nickg Add new blog post link to README
authored
7 for more details.
30472ce @nickg Add a README file
authored
8
9 Quickstart:
10
b0243b5 @nickg Implement swank:describe-symbol (i.e. C-c C-d d) using chicken-doc
authored
11 1) chicken-install fmt symbol-utils apropos chicken-doc
30472ce @nickg Add a README file
authored
12
e61bea7 @nickg Change README to say chicken-install is prefered setup method
authored
13 2) Run chicken-install in the directory where you cloned the repository: this
14 will install the `slime' extension.
15
df2438e @nickg Update README with correct load-path
authored
16 3) Add the Chicken extensions directory to your Emacs load-path. Typically this
17 will be /usr/local/lib/chicken/5/
30472ce @nickg Add a README file
authored
18
df2438e @nickg Update README with correct load-path
authored
19 4) Add the following to your .emacs
30472ce @nickg Add a README file
authored
20
d034ca8 @nickg Update README file
authored
21 (slime-setup '(slime-fancy slime-banner)) ; If you don't use SLIME already
22 ; Refer to the SLIME manual for setup instructions
23
30472ce @nickg Add a README file
authored
24 (autoload 'chicken-slime "chicken-slime" "SWANK backend for Chicken" t)
25
8b42fbe @nickg Make path to csi executable a variable: slime-csi-path
authored
26 ;; If your csi executable is in a non-standard location
27 (setq slime-csi-path "/path/to/csi")
28
30472ce @nickg Add a README file
authored
29 (add-hook 'scheme-mode-hook
30 (lambda ()
31 (slime-mode t)))
32
df2438e @nickg Update README with correct load-path
authored
33 5) Start a SLIME REPL with
30472ce @nickg Add a README file
authored
34
35 M-x chicken-slime
36
0dc850d @nickg Update README
authored
37 Note for the describe and apropos commands to work you must install a
38 local copy of the Chicken documentation.
39
e61bea7 @nickg Change README to say chicken-install is prefered setup method
authored
40 If you want to hack on the SWANK server set the following variable:
41
42 (setq swank-chicken-path "/path/to/swank-chicken.scm")
43
44 This will interpret the code rather than loading the extension. Note
45 there is currently a bug in the interpreted version which causes a
46 SEGV when viewing local variables in a call frame.
47
30472ce @nickg Add a README file
authored
48 --
49
50 Report all bugs, etc. to nick AT nickg DOT me DOT uk.
Something went wrong with that request. Please try again.