91 lines
1.5 KiB
Markdown
91 lines
1.5 KiB
Markdown
Tool to create Scheme virtual environments
|
|
|
|
## Installation
|
|
|
|
make
|
|
make install
|
|
|
|
|
|
## Usage
|
|
|
|
scheme-venv chibi r7rs venv
|
|
|
|
Note that scheme-venv does not install snow-chibi, akku or any Scheme
|
|
implementations. You have to install them yourself into your system.
|
|
|
|
### bin/activate
|
|
|
|
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.
|
|
|
|
### bin/snow-chibi
|
|
|
|
Install R7RS package from [snow-fort.org](https://snow-fort.org).
|
|
|
|
### bin/akku
|
|
|
|
Install R6RS package from [akkuscm.org](https://akkuscm.org).
|
|
|
|
### bin/scheme-script
|
|
|
|
Run Scheme script.
|
|
|
|
### bin/scheme-compile
|
|
|
|
Compile Scheme code to executable.
|
|
|
|
|
|
## Supported impelmentations 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
|
|
- Gauche
|
|
- Guile
|
|
- Kawa
|
|
- Larceny
|
|
- Loko
|
|
- Meevax
|
|
- MIT-Scheme
|
|
- Mosh
|
|
- Racket
|
|
- Sagittarius
|
|
- Skint
|
|
- STklos
|
|
- tr7
|
|
- Ypsilon
|