Install lisp on my linux machine -
i use vim editor. "practical common lisp" suggest installing lispbox, don't know how use emacs, don't know how run lisp code t.t after find lisp plugin vim called limp.vim long , hard install instruction :(( installed "clisp" , can run lisp code simple command:
clisp ~/test.lisp
but how compile it? lisp compiled language? sorry, don't know anything, i'm newbie in lisp
can tell me need install lisp on linux? what's slime, sbcl,.. etc.?
install , learn following things:
- sbcl compiler
install binary http://www.sbcl.org/platform-table.html once used it, compile source , keep source around. way can jump definitions of functions of sbcl m-. in emacs.
- emacs
watch screencast see implementing raytracer raytracer in common lisp
- quicklisp.lisp http://www.quicklisp.org/beta/
this new package management. when started wasn't there. have , should use it. makes things lot easier. run 'sbcl --load quicklisp.lisp' , enter (quicklisp-quickstart:install) press enter , run (ql:add-to-init-file)
slime runs within emacs.
try installing quicklisp. read manual , figure out write .emacs file automatically starts when open lisp file. optionally watch screencast.
paredit
seriously, have learn (even if guy in raytracing screencast didn't use it). should start ( , make 2 parenthesis. m-( can enclose existing s-expression. c-k cuts s-expression behind cursor , c-y can insert anywhere.
- asdf
this make lisp. should learn how define system in asdf file.
- reference
i printed booklet clqr. it's concise.
Comments
Post a Comment