Dumping Grounds

From Gambit wiki

Revision as of 03:01, 19 March 2008 by Bjlucier (talk | contribs) (Remove cruft from Pi.scm.)

Here you will find packages of Gambit code contributed by users. This page is meant as a simple repository where random code snippets as well as complex systems can easily be stored so that other users can get to them. This is not a substitute for a repository that is closely coupled with the Gambit system's module system (which is under development). It is meant to foster the sharing of code by making it extremely easy to publish code in a publicly accessible place. Sharing a piece of code that is incomplete, undocumented, and unreliable is better than not sharing it, because others can correct the deficiencies, learn from the code, or avoid the bugs. Hence the name Dumping Grounds for this page.

The code need not follow a specific structure. It could simply be a Scheme source file (with a .scm extension). However, if you are packaging your code specifically for storing it here, it is best if the name of the package contains a revision number (so that many revisions can be stored) and is a gzip compressed tar file (.tgz extension) containing the code and documentation (for example file Sort-r1.tgz containing the files Sort-r1/Sort.scm and possibly Sort-r1/Sort.html and other related files). For some reason the wiki insists on the package name starting with an upper-case letter. The code is assumed to be in the public domain unless you add licensing information in the package itself or the documentation.

To add a new package you must add an entry for it to this page (copy-paste an existing entry), update the file name in the [[media:Sort-r1.tgz|Sort-r1.tgz]] link, save the page and click on the link to upload your file. If you upload a new revision don't forget to change the revision number, and keep the link to the old revisions.

A list of the packages and other files with statistics is available here: Special:Imagelist


  1. Sort: Provides a simple sorting procedure for lists and vectors. The mergesort algorithm is used.
    Author: Marc Feeley
    Package: Sort-r1.tgz
  2. Pi: Compute pi to arbitrary precision.
    Author: Marc Feeley
    Package: Pi-r3.tgz (old: Pi-r2.tgz) (old: Pi-r1.tgz)
  3. Oops: Object Oriented Programming for Scheme -- Dylan/Clos-like but different
    Author: Ken Dickey
    Package: oops33.tgz
  4. TinyTalk: Self-like object system with selector [Smalltalk like] dispatch.
    Author: Ken Dickey
    Package: gambitTT.tgz