| Contents | Home | Previous | Up | Next |


Common-Lisp Small Programs and Tidbits

Downloading sources via DARCS

The sources of these small Common-Lisp programs can also be downloaded via DARCS with the following command:

darcs get http://darcs.informatimago.com/darcs/public/small-cl-pgms

Lisp History

The original LISP

Implements the lisp of AIM-8 (4 MARCH 1959 by John McCarthy).

A Parser for M-expressions

Implements a parser and a REPL for the M-expressions defined in AIM-8 (4 MARCH 1959 by John McCarthy).

Old LISP programs still run in Common Lisp

The Wang's algorithm, implemented in LISP 1 on IBM 704 in March 1960 still runs well on Common Lisp in 2006.

Lisp Cookbook

Image Based Development

Recursive Descent Parser Generator

But not so ugly. Can generate the parser in lisp and in pseudo-basic.

Lisp Tidbits

Author Signature

This program computes an "author signature" from a text, with the algorithm from http://unix.dsu.edu/~johnsone/comp.html

Democraphic Simulator

Assuming an Adam and an Eve 20 years old each, assuming the current US life table, and assuming an "intensive" reproduction rate, with gene selection, simulate the population growth during 80 years and draw the final age pyramid.

Solitaire

A solitaire playing program. The user just watch the program play solitaire.

Conway's Life Game

A small life game program.

Cube Puzzle

This program tries to resolve the Cube Puzzle, where a cube composed of 27 smaller cubes linked with a thread must be recomposed.

Common-Lisp quines

Three Common-Lisp quines (autogenerating programs).

Geek Day

The famous Geek Day games by userfriendly.org's Illiad. See: http://ars.userfriendly.org/cartoons/?id=20021215

BASIC

Brainfuck


| Contents | Home | Previous | Up | Next |



Last update : 2008-07-11 01:46:27 by : Pascal Bourguignon
Valid HTML 4.01!