-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathREADME
More file actions
55 lines (26 loc) · 912 Bytes
/
README
File metadata and controls
55 lines (26 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
This program is an implementation of the Lispkit described in the
book "FUNCTIONAL PROGRAMMING: Application and Implementation", by
Peter Henderson, ISBN 0-13-331579-7, Prentice-Hall International, 1980.
If you have a C compiler and make, like gcc and gmake, you can
build the program with:
make
If compilation is successful, you can test lispkit - this will
attempt some of the examples from table 12.1 and 12.2 in the book.
make test
INSTALLATION
------------
To install lispkit to your system:
[sudo] make install
To remove lispkit:
[sudo] make uninstall
USING
-----
To compile a lispkit program, use the lispkitc script:
lispkitc infile [outfile]
For example:
./lispkitc examples/square.lisp square.bin
To run a lispkit program:
lispkit program [argument]
If no argument file is given, lispkit will read from stdin.
For example:
echo 16 | ./lispkit square.bin