Official chibi-scheme repository
Find a file
2017-10-14 21:49:47 +09:00
benchmarks adding count to gc timer 2015-06-27 20:43:43 +09:00
build-lib/chibi/char-set Noting some simple char-set utilities are public domain. 2015-04-09 01:43:17 +09:00
contrib Update scheme-keywords.el 2015-10-21 18:04:32 +02:00
data Adding a gitignore for the temp data dir. 2015-04-09 01:30:06 +09:00
doc updating man page 2017-08-30 23:03:04 +09:00
examples Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
include/chibi avoid left shifts for string cursors 2017-10-06 22:40:28 +09:00
js Integrate emscripten build process in Makefile 2015-06-23 19:57:07 +02:00
lib adding some additional precision tests 2017-10-14 21:49:47 +09:00
opt making string-cursors a disjoint type 2016-03-29 22:25:09 +09:00
tests adding single precision numeric representations in r7rs-tests 2017-08-30 23:09:43 +09:00
tools distinguishing lowercase and foldcase (fixes issue #420) 2017-08-27 14:10:05 +09:00
.gitignore Update .gitignore. 2017-06-10 10:38:13 +09:00
.hgignore Emscripten support by default. Patch from Marc Nieper-Wi?kirchen. 2015-02-22 16:10:30 +09:00
.travis.yml wrong filename 2016-06-24 22:51:36 +09:00
AUTHORS updating AUTHORS 2017-08-26 23:29:45 +09:00
bignum.c fix complex asin (issue #359) 2016-06-07 23:42:48 +09:00
chibi-gdb Previous checkin incomplete - fixed omissions 2016-02-17 12:15:36 -05:00
chibi-run Bit better error reporting 2016-02-16 12:10:28 -05:00
chibi-save Made static definitions for srfi/95 and srfi/27 so work with images. Put makefile back to -O3 so optimized binaries made by default 2016-02-20 09:16:58 -05:00
chibi-scheme.pc.in Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
chibi-scheme.vcproj Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
configure adding informational configure script 2016-06-24 22:55:08 +09:00
COPYING Updating copyright years. 2015-04-09 01:28:02 +09:00
eval.c fixing asin/acos when complex numbers are disabled 2017-09-01 16:56:26 +09:00
fedora.spec Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
gc.c remove // comments, uneeded checks 2016-02-20 23:35:41 +09:00
gc_heap.c removing unused var (issue #364) 2016-06-21 05:03:27 +09:00
main.c -iimage should be non-fatal for a missing image 2017-08-27 10:28:24 +09:00
Makefile adding (scheme red) and associated srfi aliases 2017-10-06 23:53:22 +09:00
Makefile.detect don't set RLDFLAGS for android 2017-08-26 22:21:00 +09:00
Makefile.libs Modify makefiles to make LDCONFIG optional, support systems with no symlinks. 2016-05-18 14:11:39 -07:00
mkfile Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
opcodes.c making string-cursors a disjoint type 2016-03-29 22:25:09 +09:00
plan9.c Updating copyright years. 2015-04-09 01:28:02 +09:00
README.libs Forgot to install regexp (patch from Lorenzo) 2015-01-26 08:06:59 +09:00
README.md Update README.md 2017-02-01 10:22:00 +02:00
RELEASE bumping version 2017-10-06 23:56:31 +09:00
sexp.c don't try to read polar notation when math is disabled 2017-09-01 16:56:55 +09:00
simplify.c Updating copyright years. 2015-04-09 01:28:02 +09:00
TODO marking some todos done 2017-08-30 23:14:50 +09:00
VERSION bumping version 2017-10-06 23:56:31 +09:00
vm.c fixing peek-char on non-ascii chars 2017-06-26 22:23:38 +09:00

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.