X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-aclrepl%2FREADME;h=6eb65fd1ea5f5f723fe8269bdd396ba3c21e5e68;hb=3e991f3ecd3a0a5ba50bc5b43c4ed0133c837701;hp=7a8161c13fd8ec2b033072e80e81cecc0a7d5d53;hpb=5d0643d3b70aade43037e8b7cdf39b7e12f5d3fd;p=sbcl.git diff --git a/contrib/sb-aclrepl/README b/contrib/sb-aclrepl/README index 7a8161c..6eb65fd 100644 --- a/contrib/sb-aclrepl/README +++ b/contrib/sb-aclrepl/README @@ -1,6 +1,37 @@ +INTRODUCTION +============ + The sb-aclrepl module offers an AllegroCL style Read-Eval-Print Loop for SBCL. An AllegroCL style inspector is integrated. Adding an AllegroCL style debugger is planned. +USAGE +===== +To start sb-aclrepl as your read-eval-print loop, execute the command + (require 'sb-aclrepl) + +You can also all this command to your ~/.sbclrc to have sb-aclrepl be the default REPL +for your SBCL sessions. + +EXAMPLE ~/.sbclrc FILE +====================== + +(ignore-errors (require 'sb-aclrepl)) + +(when (find-package 'sb-aclrepl) + (push :aclrepl *features*)) + +#+aclrepl +(progn + (setq sb-aclrepl:*max-history* 100) + (setf (sb-aclrepl:alias "asdc") #'(lambda (sys) (asdf:oos 'asdf:load-op sys))) + (sb-aclrepl:alias "l" (sys) (asdf:oos 'asdf:load-op sys)) + (sb-aclrepl:alias "t" (sys) (asdf:oos 'asdf:test-op sys)) + ;; The 1 below means that two characaters ("up") are required + (sb-aclrepl:alias ("up" 1 "Use package") (package) (use-package package)) + ;; The 0 below means only the first letter ("r") is required, such as ":r base64" + (sb-aclrepl:alias ("require" 0 "Require module") (sys) (require sys)) +) + Questions, comments, or bug reports should be sent to Kevin Rosenberg -. +.