Dumping Grounds

From Gambit wiki

(Difference between revisions)
Jump to: navigation, search
(Packages: add Physics category and '''Ising''': Computer simulations of the Ising model of spins using the Metropolis algorithm)
(Physics: new version adding Wolff algorithm, bug fixes and speed increase.)
Line 9: Line 9:
==Packages==
==Packages==
===Physics===
===Physics===
-
#'''Ising''': Computer simulations of the Ising model of spins using the Metropolis algorithm
+
#'''Ising''': Computer simulations of the Ising model of spins using the Metropolis algorithm or the Wolff algorithm.
#: Author: Marijn Schouten
#: Author: Marijn Schouten
-
#: Package: [[media:ising-20090308.scm]]
+
#: Package: [[media:ising-20090315.scm]]
===Math===
===Math===

Revision as of 11:50, 15 March 2009

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

Contents

Packages

Physics

  1. Ising: Computer simulations of the Ising model of spins using the Metropolis algorithm or the Wolff algorithm.
    Author: Marijn Schouten
    Package: media:ising-20090315.scm

Math

  1. Pi: Compute pi to arbitrary precision.
    Author: Marc Feeley
    Package: Pi-r3.tgz (old: Pi-r2.tgz) (old: Pi-r1.tgz)
  1. BLAS: Thin wrapper for level 1, 2 and 3 BLAS linear algebra routines for the Gambit Scheme system.
    Author: Pierre-Alexandre Fournier
    Package: (web page) http://carretechnologies.com/scheme/blas/blas.html
  1. FFTW3: A wrapper for some FFTW3 functions for the Gambit Scheme system. (real, complex, multi-dimensional FFT functions)
    Author: Pierre-Alexandre Fournier
    Package: (web page) http://carretechnologies.com/scheme/fftw3/fftw3.html

Object Systems

  1. Oops: Object Oriented Programming for Scheme -- Dylan/Clos-like but different
    Author: Ken Dickey
    Package: oops34.tgz
  1. TinyTalk: Self-like object system with selector [Smalltalk like] dispatch.
    Author: Ken Dickey
    Package: gambitTT.tgz

Graphics

  1. Octave: A simple plotting interface using octave and gnuplot.
    Author: Pierre-Alexandre Fournier
    Package: (web page) http://carretechnologies.com/scheme/octave/octave.html
  2. Schemeray: A simple (and as of yet, unoptimized) raytracer
    Author: James Long
    Package: schemeray-0.2.tgz
  3. Opengl FFI: A simple opengl, glu and glut ffi which supports opengl up to version 1.1.
    Author: David St-Hilaire
    Package: Opengl-ffi-r1.tgz
  4. Perlin Noise: A simple opengl demonstration of a sub-optimal 2d Perlin noise implementation.
    Author: David St-Hilaire
    Package: Perlin-noise-2d-r1.tgz
  5. Cairo: Bindings for cairo graphics.
    Author: Marco Benelli
    Package: Cairo-r2.tgz (old: Cairo-r1.tgz)

SQL

  1. MySQL FFI: FFI for mysql. Unsure about thread-safety, and needs more work
    Author: Jonathan Arkell
    Package: (svn repository) http://bunny.jonnay.net/zengarden/trunk/lib/mysql/
  2. SQLite3: a minimalistic interface to SQLite3.
    Author: Marco Benelli
    Package: SQLite3-r1.tgz
  3. Postgresql: A socket level client for Postgresql
    Author: Francesco Bracchi
    Package: Postgresql-r1.tgz

Parsing

  1. SSAX-SXML: SSAX-SXML library packaged for Gambit-C
    Author: Kirill Lisovsky (updated by Dominique Boucher)
    Package: (web page) ssax-sxml-gambit-20080402.tgz
  2. Mparser: A combinatorial parser (added expression parser) (parser language rewrite)
    Author: Francesco Bracchi
    Package: Mparser-r3.tgz (old: Mparser-r1.tgz, Mparser-r2.tgz)

Language

  1. Jss: JavaScriptScheme: a multithreaded Scheme to JavaScript compiler
    Author: Marc Feeley and Catherine Gaudron
    Package: Jss-r1.tgz
  2. R6RS on Gambit:Allows R6RS programs to be run on Gambit.
    Maintainer: Arthur Smyles
    Package: (web page) http://smyles.com/projects/r6gambit/
  3. PICOBIT: Very compact Scheme compiler and virtual machine suitable for microcontrollers.
    Author: Marc Feeley and Vincent St-Amour
    Package: Picobit-r2.tgz

FFI

  1. ffi-related-modules: various modules dealing with the FFI, and their dependencies (chjmodules, but someone might turn them to using bare namespaces or so; read the Readme file at the below URL)
    Author: Christian Jaeger
    Package: (web page/git repo) http://scheme.ch/gambit/preview/ffi-related-modules/

Utilities

  1. Sort: Provides a simple sorting procedure for lists and vectors. The mergesort algorithm is used.
    Author: Marc Feeley
    Package: Sort-r1.tgz
  2. Bunny Test: A simple unit testing framework.
    Author: Jonathan Arkell
    Package: (svn repository) http://bunny.jonnay.net/zengarden/trunk/lib/test/
  3. GetOpts: A syntactic form (let-opts) to parse command line options
    Author: Marco Benelli
    Package: GetOpts-r1.tgz
  4. Etags: Script that generates Emacs TAGS files from Scheme files, and recognizes nested definitions.
    Author: Vincent St-Amour
    Package: http://www-etud.iro.umontreal.ca/~stamourv/etags.scm

Full Applications

  1. Space-Invaders: Space Invaders classical arcade game remake in scheme over either glut or SDL.
    Author: David St-Hilaire
    Package: Space-invaders-src-v1.0.tgz
  2. Web Server: a web server with sessions cookies and server pages.
    Author: Francesco Bracchi
    Package: WebServer-r2.tgz (old: WebServer-r1.tgz)
  3. GUI-Toy: Simple Direct Media Layer prototype code with examples in the raw and using TinyTalk and Oops object systems.
    Author: Ken Dickey
    Package: GUI-Toy.tgz
  4. Intelligent WTF: Intelligent acronym decoder based on wtf from BSD Games
    Author: Joel J. Adamson
    Package: (web page) http://www.unc.edu/~adamsonj/software.html
Personal tools
documentation