From: Exit Only.
Subject: examples of lisp programs
Date: 
Message-ID: <2hhh87$js@portal.gmu.edu>
Do you guys know any good ftp sites where they have lisp example
programs. book example that it.

--
Dig Bahadure Singh.
From: Daniel H. Miller
Subject: Re: examples of lisp programs
Date: 
Message-ID: <DHM.94Jan18143925@hpsdxs7.cup.hp.com>
In article <·········@portal.gmu.edu> ······@mason1.gmu.edu (Exit Only.) writes:

   Do you guys know any good ftp sites where they have lisp example
   programs. book example that it.

As a AI/Lisp student, I have found the Peter Norvig book enlightening as far
as the AI goes as well as the elegant programming. Here's a snipit from the
AI FAQ about Norvig's book and how to get his book's Common Lisp code:

"More advanced introductions to Lisp and its use in Artificial
Intelligence include:

   1. Peter Norvig.
      "Paradigms of AI Programming: Case Studies in Common Lisp"
      Morgan Kaufmann, 1992. 946 pages. ISBN 1-55860-191-0.

	Provides an in-depth exposition of advanced AI programming techniques
	and includes large-scale detailed examples. The book is the most
	advanced AI/Common-Lisp programming text and reference currently
	available, and hence is not for the complete novice.  It focuses on the
	programming techniques necessary for building large AI systems,
	including object-oriented programming, and has a strong performance
	orientation.

	The text is marked by its use of "non-toy" examples to illustrate the
	techniques. All of the examples are written in Common Lisp, and copies
	of the source code are available by anonymous ftp from
	unix.sri.com:pub/norvig and on disk in Macintosh or DOS format from
	the publisher. Some of the techniques described include rule-based
	pattern matching (GPS, Eliza, a subset of Macsyma, the Emycin expert
	system shell), constraint propagation and backtracking (Waltz
	line-labelling), alpha-beta search (Othello), natural language
	processing (top-down, bottom-up and chart parsing), logic-programming
	(unification and Prolog), interpreters and compilers for Scheme, and
	object-oriented programming (CLOS).

	The examples are also used to illustrate good programming style and
	efficiency. There is a guide to trouble-shooting and debugging Lisp
	programs, a style guide, and a discussion of portability problems.
	Some of the efficiency techniques described include memoization,
	data indexing, compilation, delaying computation, proper use of
	declarations, avoiding garbage collection, and choosing and using the
	correct data structure.

	The book also serves as an advanced introduction to Common Lisp, with
	sections on the Loop macro, CLOS and sequences, and some coverage of 
	error handling, series, and the package facility."

Happy Lisp'ing!					... Dan (···@cup.hp.com)
--

--- Daniel (Dan) H. Miller                         Above opinions are my own
Hewlett-Packard; 19483 Pruneridge Ave., 48NA; Cupertino CA 95014-0604; _USA_
···@cup.hp.com                                               +1(408)447-4019