Let's Talk LISPLISP is a LISt processing programming language based on John McCarthy's work on nonnumeric computation published in 1960. It is the language of choice for research requiring nonnumeric computation. This text gives a reasonably complete exposition of LISP, but avoids the details of the implementations of the language. The first seven chapters give a slow-paced introduction to the more elementary features of the language, while chapters 8-11 pull together the features not found in previous chapters. Seldom is LISP taught as a first programming language, and so have assumed that the reader of this text knows the mechanics of accessing computers, running programs, and debugging them. Some programming approaches are emphasized, however. |
Contents
A Language for the Computer | 1 |
Elementary DEFINE | 24 |
Elementary Recursive DEFINE | 31 |
Copyright | |
11 other sections not shown
Common terms and phrases
ADD1 ALIST alpha atom APPEND argument of CONS atom cell BIGEQSTRUC BOOL called CAR and CDR CAR LIS2 CAR QUOTE CAR SET1 CDR's cell value CHANCE-POINTER circular list COND EQ COND NULL LIS CONS CAR CONS QUOTE CONTAGIOUS define a function DONOTHING elements empty list empty set EQAL EQSTRUC error EVAL evaluated EVLIS EVQ-LISP example EXERCISE EXP2 FRONUP FUNARG problem function definition FUNCTION LAMBDA functional argument GENC GENSYM GO LOOP HARRY HELP2 INROOM LAMBDA expression LAMBDA LIS LAMBDA SEX LAMBDA SEX1 SEX2 LIS1 LIS2 LISP systems list of arguments LOOP COND MAP functions MAPC MAPCAR MEMQ MEMSET NEWFUP NEWROOM NULL CDR LIS NULL LIS2 Number of arguments parentheses player PLAYTOY predicate PRINT PROG variables PROG2 property lists PUTPROP READVAL recursive ROBOT RPLACD S-expression second argument second SEX Section SET2 SETQ SEX3 SIFORM structure SUB1 sublists SUBSTOP value NIL value of HASAND WOMEN SONG ZEROP



