1LISP(1)              General Commands Manual              LISP(1)
2
3
4

NAME

6       lisp - lisp interpreter
7

SYNOPSIS

9       lisp
10

DESCRIPTION

12       Lisp  is  a  provisional  lisp interpreter.  It only runs in eval mode.
13       Built in functions are named in lower case, and case is  distinguished.
14       It is being transmuted from a subset of lisp as provided by the Harvard
15       UNIX lisp in use at UCB, to a subset of MIT's MACLISP.
16
17       The following functions are provided as machine code:
18
19       Lambda functions:
20
21       atom         dptr         load         putd         rplacd
22       bcdp         drain        null         putprop      set
23       car          eq           numberp      ratom        terpr
24       cdr          equal        outfile      read
25       close        eval         patom        readc
26       concat       get          pntlen       retbrk
27       cons         getd         portp        return
28       cont         infile       print        rplaca
29
30       Nlambda functions (possibly simulating ones which  are  normally  lamb‐
31       das):
32
33       add1         difference   onep         quotient     zerop
34       and          exit         or           reset
35       break        go           plus         setq
36       cond         minus        product      sub1
37       cond         mod          prog         sum
38       def          not          quote        times
39
40       The  following  functions  are provided as lisp code (and at the moment
41       must be read in by saying (load 'auxfns):
42
43       add          copy         length       numbp
44       append       defevq       linelength   pp_etc
45       apply*       defprop      member       reverse
46       charcnt      defprop      memcar       terpri
47       chrct        diff         memcdr
48       conc         last         nconc
49
50       All of the above functions are documented in the  ``Harvard  Lisp  Man‐
51       ual.''
52
53       The following functions are provided as in MIT's MACLISP.
54
55       alphalessp   do           mapc         setsyntax
56       apply        explodec     mapcar       throw
57       ascii        exploden     prog2        tyi
58       catch        funcall      progn        tyipeek
59       defun        implode      progv        tyo
60
61       ``Hairy  control  structure''  is provided by the Nlambda (process com‐
62       mand inport outport) where command is an atom whose print name is  some
63       command   that   you   would   wish   typed   at   the  terminal,  e.g.
64       ``neqn | nroff -ms''; where inport and outport are atoms which will  be
65       bound to port descriptors for use in communication with the subprocess.
66       Inport is a port to a pipe which will be read by the subprocess as  its
67       standard  input.  If  Inport  is  nil  (or not present), the subprocess
68       inherits the standard input, and lisp waits for the subprocess to  die.
69       If Inport is the atom t lisp continues without waiting.
70

AUTHORS

72       Originally  written  by  Jeff Levinsky, Mike Curry, and John Breedlove.
73       Keith Sklower made it work and is maintaining the current version.  The
74       garbage collector was implemented by Bill Rowan.
75

SEE ALSO

77       Harvard UNIX Lisp Manual
78       MACLISP Manual
79       UCB Franz Lisp Manual
80

BUGS

82       The status bits for setsyntax are not the same as for MACLISP.
83
84       Closing down a pipe doesn't always seem to work correctly.
85
86       Arrays are not implemented in version 1.
87
88
89
903rd Berkeley Distribution                                 LISP(1)
Impressum