4 The sb-aclrepl module offers an AllegroCL style Read-Eval-Print Loop for
5 SBCL. An AllegroCL style inspector is integrated. Adding an AllegroCL style
10 To start sb-aclrepl as your read-eval-print loop, put the form
12 in your ~/.sbclrc initialization file.
15 EXAMPLE ~/.sbclrc FILE
16 ======================
18 (ignore-errors (require 'sb-aclrepl))
20 (when (find-package 'sb-aclrepl)
21 (push :aclrepl cl:*features*))
24 (setq sb-aclrepl:*max-history* 100)
25 (setf (sb-aclrepl:alias "asdc")
26 #'(lambda (sys) (asdf:operate 'asdf:compile-op sys)))
27 (sb-aclrepl:alias "l" (sys) (asdf:operate 'asdf:load-op sys))
28 (sb-aclrepl:alias "t" (sys) (asdf:operate 'asdf:test-op sys))
29 ;; The 1 below means that two characaters ("up") are required
30 (sb-aclrepl:alias ("up" 1 "Use package") (package) (use-package package))
31 ;; The 0 below means only the first letter ("r") is required, such as ":r base64"
32 (sb-aclrepl:alias ("require" 0 "Require module") (sys) (require sys))
33 (setq cl:*features* (delete :aclrepl cl:*features*)))
35 Questions, comments, or bug reports should be sent to Kevin Rosenberg
36 <kevin@rosenberg.net>.