|
|
||
|---|---|---|
| .gitignore | ||
| Dockerfile | ||
| Dockerfile.test | ||
| Jenkinsfile | ||
| Makefile | ||
| README.md | ||
| scheme-venv | ||
| test.scm | ||
| test.sps | ||
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