Common LISP: A Gentle Introduction to Symbolic ComputationThis highly accessible introduction to Lisp is suitable both for novices approaching their first programming language and experienced programmers interested in exploring a key tool for artificial intelligence research. The text offers clear, reader-friendly explanations of such essential concepts as cons cell structures, evaluation rules, programs as data, and recursive and applicative programming styles. The treatment incorporates several innovative instructional devices, such as the use of function boxes in the first two chapters to visually distinguish functions from data, use of evaltrace notation in later chapters to illustrate the operation of evaluation rules, and "Dragon stories" to explain recursion. The book contains nearly 400 diagrams and illustrations, and 77 pages of answers to exercises. Advanced topics and "toolkit" sections, and a variety of complete programs, extend readers' programming power. |
Other editions - View all
Common terms and phrases
A B C ADD1 ANYODDP APPEND aref argument list assignment ASSOC BIG BOPPER block body built-in CAR and CDR chapter Common Lisp COND clause cond null cons cell cons cell chain COUNT-SLICES create variable debugger defarc defined defmacro defparameter DEFSTRUCT defun DEFVAR DOLIST DOTIMES dragon DTRACE Enter error EVAL notation evaluates example file find FIND-IF first element first input five format FRED function called global variable hash table INCF input and returns integer iterative keyword arguments lambda expression length Lisp implementations loaf loop macro mapcar NIL NIL node nonterminal nodes object ODDP output parentheses pointer predicate property list quote read-eval-print loop recursive call recursive function rest result returns NIL SDRAW second input setf SETQ special function specified starship string structure symbol tail recursion takes template trace tree unassigned variable variable named Write a function zero zerop