🍺 BREW Explorer

← all formulae

chibi-scheme

brew install chibi-scheme v0.12 BSD-3-Clause

Minimal Scheme interpreter and C extension library with no external dependencies, full R7RS support, and multi-threaded VM.

Why you might care

Chibi-Scheme is designed to embed in C/C++ programs as a lightweight scripting layer without adding dependencies. It supports R7RS Scheme, Unicode, rational/complex numbers, and multiple isolated VMs in OS threads. Choose it over full Scheme systems (Guile, Racket) when you need a tiny footprint with seamless C integration.

Categories

Alternatives

Guile Racket TinyScheme s7
2.5k
30-day installs · #885
5.2k
90-day · #1074
39.7k
365-day · #773
1.4k
★ GitHub stars · updated 2d ago

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "Guile",
    "Racket",
    "TinyScheme",
    "s7"
  ],
  "build_dependencies": [],
  "categories": [
    "interpreter",
    "language-runtime",
    "library"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Small footprint Scheme for use as a C Extension Language",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:21+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "chibi-scheme",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-19T01:46:10Z",
  "github_readme_excerpt": "# ![Chibi-Scheme](https://goo.gl/ZDtn4q)\n\n**Minimal Scheme Implementation for use as an Extension Language**\n\nhttps://github.com/ashinn/chibi-scheme\n\nChibi-Scheme is a very small library intended for use as an extension\nand scripting language in C programs.  In addition to support for\nlightweight VM-based threads, each VM itself runs in an isolated heap\nallowing multiple VMs to run simultaneously in different OS threads.\n\nThere are no external dependencies so is relatively easy to drop into\nany project.\n\nDespite the small size, Chibi-Scheme attempts to do The Right Thing.\nThe default settings include:\n\n* a full numeric tower, with rational and complex numbers\n* full and seamless Unicode support\n* low-level and high-level hygienic macros\n* an extensible module system\n\nSpecifically, the default repl language contains all bindings from\n[R7RS small](https://small.r7rs.org/), available explicitly as the\n`(scheme small)` library.  The language is built in layers, however -\nsee the manual for instructions on compiling with fewer features or\nrequesting a smaller language on startup.\n\nChibi-Scheme is known to work on **32** and **64-bit** Linux, FreeBSD,\nNetBSD, OpenBSD, DragonFlyBSD, OS X, Plan 9, Windows, iOS, Android,\nARM and [Emscripten](https://kripken.github.io/emscripten-site).  Basic\nsupport for native Windows desktop also exists. See README-win32.md\nfor details and build instructions.\n\nTo build on most platforms just run `make \u0026\u0026 make test`.  This has a\nfew conditionals assuming GNU make.  If using another make, there are\na few parameters in Makefile.detect you need to set by hand.\n\nThis will provide a shared library *libchibi-scheme*, as well as a\nsample *chibi-scheme* command-line repl.  You can then run\n\n    sudo make install\n\nto install the binaries and libraries.  You can optionally specify a\n**PREFIX** for the installation directory:\n\n    make PREFIX=/path/to/install/\n    sudo make PREFIX=/path/to/install/ install\n\nBy default files are installed in **/usr/loca",
  "github_repo": "ashinn/chibi-scheme",
  "github_stars": 1374,
  "github_topics": [],
  "homepage": "https://github.com/ashinn/chibi-scheme",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 2457,
  "installs_365d": 39654,
  "installs_90d": 5191,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-3-Clause",
  "llm_generated_at": "2026-06-20T23:47:40+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "chibi-scheme",
  "oldnames": [],
  "one_liner": "Minimal Scheme interpreter and C extension library with no external dependencies, full R7RS support, and multi-threaded VM.",
  "optional_dependencies": [],
  "rank_30d": 885,
  "rank_365d": 773,
  "rank_90d": 1074,
  "raw_hash": "63c327d70b46dfb1",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/c/chibi-scheme.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "0.12",
  "versioned_formulae": [],
  "why_use_this": "Chibi-Scheme is designed to embed in C/C++ programs as a lightweight scripting layer without adding dependencies. It supports R7RS Scheme, Unicode, rational/complex numbers, and multiple isolated VMs in OS threads. Choose it over full Scheme systems (Guile, Racket) when you need a tiny footprint with seamless C integration."
}