This will be a simple Scheme implementation switcher.
$ curl https://raw.githubusercontent.com/ktakashi/scheme-env/master/bin/install.sh | bash
After the installation you need to add the following to your shell resource file:
PATH=~/.scheme-env/bin:$PATH
The basic command id scheme-env
if you want to run the default
implementation then use the following comment
$ scheme-env run
To install implementations, you can run the following command
$ scheme-env install implementation
Currently the followings are the supported implementation
- Chibi Scheme (chibi-scheme)
- Sagittarius Scheme (sagittarius)
- Gauche (gauche)
- Foment (foment)
- Chicken (chicken-scheme)
- Larceny (larceny)
- Chez Scheme (chez)
You can also specify the version by adding @
and version number.
For example:
$ scheme-env install sagittarius@0.8.9
The installation process of Chicken Scheme creates 3 aliases, csi
, csc
and
chicken-scheme
followed by @{version}
suffix. These are the standard
entry points for Chicken Scheme.
On macOS, there are following prerequisites:
- Installing Xcode (For Chicken Scheme)
- Installing XQuartz (For Chez Scheme)
To swich default implementation, you can run the following command
$ scheme-env switch implementation
If this command isn't run, then sagitarius
is set to default.
To run an installed implementation, you can run the following command
$ scheme-env run implementation
- Shiro Kawai for the installation script of Gauche