====================================== XLISP - ExamplesL/ TABLE OF CONTENTS Dec. 2, 2009 ====================================== This directory contains a collection of programs and writeups that will be of interest (and aid) to students who are learning LISP. FILE or DIRECTORY/ DESCRIPTION ---------------------- ---------------------------------------------- 00INDEX.txt - This file Arrays.lsp L Demonstrate 1-D and 2-D XLISP arrays Docs/ D LISP- and AI-related documents Echo.lsp L Show how to read one line at a time Eliza.css - Stylesheet for Eliza Eliza.htm - Eliza in Javascript Eqs.lsp L Show the difference between eq, eql, equal FileIO.lsp L Demonstrate simple file input/output Graham.lsp L Functions from Paul Graham's Common LISP text Hanoi.lsp L A solution to the Towers of Hanoi problem Hello-World.lsp L A simple "Hello World" function IterSum.lsp L Sum integers N to 0; iteratively, recursively Letters.lsp L How to decompose a word into chars; look for a char Mkfun.lsp L Demonstrate how to define a "mkfun" function N-Queens.lsp L A solution to the N Queens problem NatLangLisp/ D A collection of examples OnLisp.lsp L Functions from Paul Graham's OnLisp text Primes.lsp L Find primes under N; demonstrate dotimes, dolist Static-Dyamic.lsp L Demonstrate Static and Dynamic binding Sum2.lsp L Add two numbers from stdin; demo input/output Sums.lsp L Demonstrate Helper Functions VectorAdd.lsp L Numeric vector addition - o - O - o - Note: "D" indicates subdirectory "L" indicates an LISP source file File: http://Snow.SierraNevada.edu/~csci/ExamplesL/00INDEX.txt Last updated: 12/2/2009