Official chibi-scheme repository
Scheme C KiCad Makefile Emacs Lisp Eagle Other
Latest commit d381c53 Jul 25, 2017 @ashinn committed on GitHub Merge pull request #429 from mnieper/emscripten
Repair Emscripten building process
Permalink
Failed to load latest commit information.
benchmarks adding count to gc timer Jun 27, 2015
build-lib/chibi/char-set Noting some simple char-set utilities are public domain. Apr 8, 2015
contrib Update scheme-keywords.el Oct 21, 2015
data Adding a gitignore for the temp data dir. Apr 8, 2015
doc updating default language in manpage to (scheme small) May 7, 2016
examples Forgot to install regexp (patch from Lorenzo) Jan 25, 2015
include/chibi don't expand into defined (issue #423) Jul 8, 2017
js Integrate emscripten build process in Makefile Jun 23, 2015
lib Repair emscripten build Jul 25, 2017
opt making string-cursors a disjoint type Mar 29, 2016
tests Identifiers in patterns should be checked against literals using boun… Jul 22, 2017
tools updating to Unicode 9 and adding SRFI 129 Mar 28, 2017
.gitignore Update .gitignore. Jun 10, 2017
.hgignore Emscripten support by default. Patch from Marc Nieper-Wi?kirchen. Feb 22, 2015
.travis.yml wrong filename Jun 24, 2016
AUTHORS Adding credit to Chris. Feb 20, 2016
COPYING Updating copyright years. Apr 8, 2015
Makefile Repair emscripten build Jul 25, 2017
Makefile.detect windows fixes from mkeeter Feb 17, 2017
Makefile.libs Modify makefiles to make LDCONFIG optional, support systems with no s… May 18, 2016
README.libs Forgot to install regexp (patch from Lorenzo) Jan 25, 2015
README.md Update README.md Feb 1, 2017
RELEASE Forgot to install regexp (patch from Lorenzo) Jan 25, 2015
TODO Updating some completed items. Apr 8, 2015
VERSION changes go to the 0.7.3 release Mar 22, 2015
bignum.c fix complex asin (issue #359) Jun 7, 2016
chibi-gdb Previous checkin incomplete - fixed omissions Feb 17, 2016
chibi-run Bit better error reporting Feb 16, 2016
chibi-save Made static definitions for srfi/95 and srfi/27 so work with images. … Feb 20, 2016
chibi-scheme.pc.in Forgot to install regexp (patch from Lorenzo) Jan 25, 2015
chibi-scheme.vcproj Forgot to install regexp (patch from Lorenzo) Jan 25, 2015
configure adding informational configure script Jun 24, 2016
eval.c fixing peek-char on non-ascii chars Jun 26, 2017
fedora.spec Forgot to install regexp (patch from Lorenzo) Jan 25, 2015
gc.c remove // comments, uneeded checks Feb 20, 2016
gc_heap.c removing unused var (issue #364) Jun 20, 2016
main.c documenting -D, -t and -T options Jun 29, 2017
mkfile Forgot to install regexp (patch from Lorenzo) Jan 25, 2015
opcodes.c making string-cursors a disjoint type Mar 29, 2016
plan9.c Updating copyright years. Apr 8, 2015
sexp.c fixing sexp_port_size after buffered read on non-custom ports Jun 29, 2017
simplify.c Updating copyright years. Apr 8, 2015
vm.c fixing peek-char on non-ascii chars Jun 26, 2017

README.md

Chibi-Scheme

Minimal Scheme Implementation for use as an Extension Language

http://synthcode.com/wiki/chibi-scheme

Chibi-Scheme is a very small library intended for use as an extension and scripting language in C programs. In addition to support for lightweight VM-based threads, each VM itself runs in an isolated heap allowing multiple VMs to run simultaneously in different OS threads.

There are no external dependencies so is relatively easy to drop into any project.

The default repl language contains all bindings from R7RS small, available explicitly as the (scheme small) library. The language is built in layers, however - see the manual for instructions on compiling with fewer features or requesting a smaller language on startup.

Chibi-Scheme is known to work on 32 and 64-bit Linux, FreeBSD and OS X, Plan 9, Windows (using Cygwin), iOS, Android, ARM and Emscripten.

To build on most platforms just run make && make test. This will provide a shared library libchibi-scheme, as well as a sample chibi-scheme command-line repl. You can then run

sudo make install

to install the binaries and libraries. You can optionally specify a PREFIX for the installation directory:

make PREFIX=/path/to/install/
sudo make PREFIX=/path/to/install/ install

By default files are installed in /usr/local.

If you want to try out chibi-scheme without installing, be sure to set LD_LIBRARY_PATH so it can find the shared libraries.

For more detailed documentation, run make doc and see the generated doc/chibi.html.