Index of /paip/
README for Paradigms of AI Programming
Lisp Source Code for
Paradigms of Artificial Intelligence Programming:
Case Studies in Common Lisp
The Lisp source code files for the book "Paradigms of Artificial
Intelligence Programming" are available on the Internet,
and on disk in Macintosh or DOS format from the publisher,
Morgan Kaufmann. The total size is about 440K bytes in 78 files of
source code and data.
The Files
Most of the files use some auxiliary macros and functions, so you
should load the file "auxfns" first. Then load the files you are
interested in. The index below gives the chapter in the book, file
name, and short description for each file.
The function "requires" is used for a primitive form of control over
what files require other files to be loaded first. If "requires" does
not work properly on your system you may have to alter its definition,
in the file "auxfns.lisp". For more complicated use of these files,
you should follow the guidelines for organizing files explained in
Chapter 24. A tutorial program that interactively runs many of the
examples from the book is available. Run (tutor) and follow the
instructions.
Index of Files
CH Filename Description
== ======= ===========
- README This file: explanation and index
- errata.html Corrections for bugs and typos
- examples.lisp A list of example inputs taken from the book
- tutor.lisp An interactive application for running the examples
- gui-capi.lisp Graphical User Interface for Harlequin's CAPI
- gui-mcl.lisp Graphical User Interface for Macintosh Common Lisp
- Other/ A directory holding other files; mostly obsolete
24 loop.lisp Load this first if your Lisp doesn't support ANSI LOOP
- auxfns.lisp Auxiliary functions; load this before anything else
1 intro.lisp A few simple definitions
2 simple.lisp Random sentence generator (two versions)
3 overview.lisp 14 versions of LENGTH and other examples
4 gps1.lisp Simple version of General Problem Solver
4 gps.lisp Final version of General Problem Solver
5 eliza1.lisp Basic version of Eliza program
5 eliza.lisp Eliza with more rules; different reader
6 patmatch.lisp Pattern Matching Utility
6 eliza-pm.lisp Version of Eliza using utilities
6 search.lisp Search Utility
6 gps-srch.lisp Version of GPS using the search utility
7 student.lisp The Student Program
8 macsyma.lisp The Macsyma Program
8 macsymar.lisp Simplification and integration rules for Macsyma
9-10
11 unify.lisp Unification functions
11 prolog1.lisp First version of Prolog interpreter
11 prolog.lisp Final version of Prolog interpreter
12 prologc1.lisp First version of Prolog compiler
12 prologc2.lisp Second version of Prolog compiler
12 prologc.lisp Final version of Prolog compiler
12 prologcp.lisp Primitives for Prolog compiler
13 clos.lisp Some object-oriented and CLOS code
14 krep1.lisp Knowledge Representation code: first version
14 krep2.lisp Knowledge Representation code with conjunctions
14 krep.lisp Final KR code: worlds and attached functions
15 cmacsyma.lisp Efficient Macsyma with canonical form
16 mycin.lisp The Emycin expert system shell
16 mycin-r.lisp Some rules for a medical application of emycin
17 waltz.lisp A Line-Labeling program using the Waltz algorithm
18 othello.lisp The Othello playing program and some strategies
18 othello2.lisp Additional strategies for Othello
18 edge-tab.lisp Edge table for Iago strategy
19 syntax1.lisp Syntactic Parser
19 syntax2.lisp Syntactic Parser with semantics
19 syntax3.lisp Syntactic Parser with semantics and preferences
20 unifgram.lisp Unification Parser
21 grammar.lisp Comprehensive grammar of English
21 lexicon.lisp Sample Lexicon of English
22 interp1.lisp Scheme interpreter, including version with macros
22 interp2.lisp A tail recurive Scheme interpreter
22 interp3.lisp A Scheme interpreter that handles call/cc
23 compile1.lisp Simple Scheme compiler
23 compile2.lisp Compiler with tail recursion and primitives
23 compile3.lisp Compiler with peephole optimizer
23 compopt.lisp Peephole optimizers for compile3.lisp
README.html size 4301
auxfns.lisp size 23560
clos.lisp size 3087
cmacsyma.lisp size 11521
compile1.lisp size 4918
compile2.lisp size 9231
compile3.lisp size 14404
compopt.lisp size 2206
edge-tab.lisp size 226
eliza-pm.lisp size 653
eliza.lisp size 6589
eliza1.lisp size 6065
examples.lisp size 69956
gps-srch.lisp size 1214
gps.lisp size 8654
gps1.lisp size 2110
grammar.lisp size 17653
gui-capi.lisp size 4385
gui-none.lisp size 424
interp1.lisp size 6435
interp2.lisp size 2336
interp3.lisp size 3598
intro.lisp size 3332
krep.lisp size 9881
krep1.lisp size 6003
krep2.lisp size 5553
lexicon.lisp size 6848
loop.lisp size 9808
macsyma.lisp size 9857
macsymar.lisp size 3020
mycin-r.lisp size 2356
mycin.lisp size 14578
othello.lisp size 16626
othello2.lisp size 14015
overview.lisp size 9345
patmatch.lisp size 6835
prolog.lisp size 4564
prolog1.lisp size 3741
prologc.lisp size 14540
prologc1.lisp size 5943
prologc2.lisp size 6879
prologcp.lisp size 4599
search.lisp size 11104
simple.lisp size 3810
student.lisp size 6934
syntax1.lisp size 4162
syntax2.lisp size 5662
syntax3.lisp size 8933
tutor.lisp size 6820
unifgram.lisp size 6273
unify.lisp size 2143
waltz.lisp size 9503