Common Lisp or Scheme?
I've probably written adozen replies to the same question, so just use /prog/scape or google search.
Scheme: SICP, RnRS specs, Lambda papers, Lisp in Small Pieces (compilers/interpreters), The 90 Minute Scheme to C compiler, ...
Common Lisp: Practical Common Lisp(PCL), Paradigms of Artificial Intelligence Programming (PAIP), ANSI CL (rather incomplete introduction to CL by P. Graham), On Lisp (in-depth macro-programming), Hyperspec (HTML version of the ANSI standard), The Art of the Meta-object Protocol (AMOP), Common Lisp The Language 2 (commentary on a pre-(latest) ANSI CL standard, rather complete), Keene's Object-Oriented Programming in Common Lisp. I also hear some more recent books like Land of Lisp and Let over Lambda are popular, but I have no idea how complete their CL teachings are (I've yet to read Land of Lisp, and I've looked through an incomplete version of Let over Lambda, and while it seemed to present some interesting tricks, some of the techniques presented were quite hacky, so I wouldn't recommend it to a beginner that doesn't know what proper Lisp style looks like, lest he may learn some bad habbits as well, however the same is true about Graham's ANSI CL book...).
Name:
Anonymous2012-01-28 11:52
>>1
Disregard Land of Lisp. That book is crap. Pick up On Lisp, ANSI Common Lisp, and Paradigms of Artificial Intelligence Programming (PAIP). I assume you have downloaded a suitable Lisp (Scheme? LOL!), but if you have not, download SBCL+Slime+Emacs. If you don't like emacs, select something from here: http://www.cliki.net/development
If you want to just start hacking away, you can. Pick up a copy of the hyperspec and churn out some code. It'll probably be shitty, but you'll learn something at least.
>>13
I would also recommend >>1 also use Paredit+Redshank along with SLIME.
Name:
Anonymous2012-01-28 13:53
(car ;list/primitive)
(cdr ;list)
set "varname"
(setq varname ;;same thing as above
(defun functionname (nameofparameter))
use 'if using something a variable can be used for but you are using a list instead
Name:
Anonymous2012-01-28 14:36
>>13
I can't figure out how to set emacs with slime
Name:
Anonymous2012-01-28 14:40
>>16
Download lispbox. Unless you're on Linux, then it's buggy and you'll just have to do it yourself.
>>16
Depends on the OS. Usually you first install Emacs, then you download SLIME from CVS (or get a cvs snapshot). After that you write your .emacs, if you haven't written one already, this means writing something like:
(setq slime-lisp-implementations
'((sbcl ("sbcl") :coding-system utf-8-unix)
(ccl ("path/to/wx86cl"))
(clisp ("path/to/clisp")
...)))
I also have a lot of other stuff in there like various key-chords, various settings for all kinds of Emacs, SLIME, ...-related things, hooks, hyperspec path, indentation settings, color scheme and so on. Just read the documentation or source code for the things that you want to install or customize.
Here's some short tutorial for setting up SLIME, I used something like it when I first set Emacs+SLIME+ASDF up: http://paste.lisp.org/display/89718