Go to file
retropikzel 6c3978792c Add version, deb building and update readme 2026-02-07 10:40:39 +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 Add version, deb building and update readme 2026-02-07 10:40:39 +02:00
scheme-venv Add version, deb building and update readme 2026-02-07 10:40:39 +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 r7rs venv

First argument is Scheme, second is RnRS and third is path to directory. The directory must not exist.

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. To run your Scheme code use either scheme-script or scheme-compile, executables.

R6RS:

akku install chez-srfi
scheme-script main.sps
scheme-compile main.sps
./main

R7RS:

snow-chibi install srfi.64
scheme-script main.scm
scheme-compile main.scm
./main

Implementation specific notes

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/scheme-compile
    • Environment variable VENV_CSC_ARGS is added to csc arguments