Common-Lisp Small Programs and Tidbits

Downloading the sources

The sources of these small Common-Lisp programs can be downloaded via git. Use the following command to fetch them:

mkdir com
git clone https://git.gitorious.org/com-informatimago/com-informatimago.git com/informatimago
ls com/informatimago/small-cl-pgms

Lisp History

The original LISP

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

LISP 1.5 Sources

The sources of LISP 1.5 in machine readable form. They are now available with: git clone http://git.informatimago.com/public/lisp15

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

Small Simple Structural Editor

This is a simple structural editor to edit lisp sources considered as syntactic forests.

Recursive Descent Parser Generator

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

Lisp Curiosities

Common-Lisp quines

Three Common-Lisp quines (autogenerating programs).

Intersection between Common-Lisp, Emacs-Lisp and R5RS Scheme

A unique program that can be run on Common Lisp, Emacs Lisp or R5RS Scheme.

Lisp Tidbits

Author Signature

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

Demographic 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.

Common-Lisp quines

Three Common-Lisp quines (autogenerating programs).

BASIC

Brainfuck

Little Games

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.

Sudoku Solver

Geek Day

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


| Mirror on informatimago.com | Mirror on free.fr |
Valid HTML 4.01!