Go to file
retropikzel a1d5f47235 Do not require RNRS on initialization anymore 2026-02-27 13:52:29 +02:00
.gitignore Add version, deb building and update readme 2026-02-07 10:40:39 +02:00
Dockerfile Fixing testing 2026-01-25 16:42:07 +02:00
Dockerfile.test Improvements 2026-01-28 20:48:17 +02:00
Jenkinsfile Fixing testing 2026-01-27 19:02:02 +02:00
Makefile Add version, deb building and update readme 2026-02-07 10:40:39 +02:00
README.md Do not require RNRS on initialization anymore 2026-02-27 13:52:29 +02:00
scheme-venv Do not require RNRS on initialization anymore 2026-02-27 13:52:29 +02:00
test.scm R6RS Fixes 2026-01-26 19:25:32 +02:00
test.sps Fixing testing 2026-01-26 18:11:08 +02:00

README.md

Tool to create Scheme virtual environments

Installation

make
make install

Usage

scheme-venv chibi venv

Note that scheme-venv does not install snow-chibi, akku or any Scheme implementations. You have to install them yourself into your system.

First argument is Scheme implementation you want to use, second is path to directory. The directory must not exist.

bin/activate

After the virtual environment is created you can activate is with:

source venv/bin/activate

After activation you can install packages with either snow-chibi or akku and they will be installed inside the virtual environment.

bin/snow-chibi

Install R7RS package from snow-fort.org.

bin/akku

Install R6RS package from akkuscm.org.

If you want to use R7RS libraries on R6RS you can first install them with snow-chibi and then run "akku install".

bin/scheme-script

Run Scheme script. The RnRS is deducted from fiel suffix, .sps or .scm.

bin/scheme-compile

Compile Scheme code to executable. The RnRS is deducted from fiel suffix, .sps or .scm.

Supported implementations and notes

R6RS

  • Capyscheme
  • Chezscheme
  • Guile
  • Ikarus
  • Ironscheme
  • Larceny
  • Loko
  • Mosh
  • Racket
  • Sagittarius
  • Ypsilon

R7RS

  • Capyscheme
  • Chibi
  • Chicken
    • Before compilation the directory is changed to be venv/lib so libraries will be found
    • venv/include
      • added into include paths
    • venv/lib
      • added into library paths
    • venv/bin/scheme-compile
      • Use environment variable CSC_OPTIONS to add arguments for the compiler
  • Cyclone
  • Foment
  • Gambit
    • No compilation, runs code with interpreter
  • Gauche
  • Guile
  • Kawa
  • Larceny
  • Loko
  • Meevax
  • MIT-Scheme
  • Mosh
  • Racket
  • Sagittarius
  • Skint
  • STklos
  • tr7
  • Ypsilon