Cyclone is a brand-new, R7RS Scheme-to-C compiler that uses a variant of Cheney on the MTA to implement full tail recursion, continuations, and generational garbage collection.
Cyclone cannot be built directly on a system that does not have Cyclone binaries installed because the compiler is self-hosting. Instead, this repository uses pre-generated C code to build and install Cyclone Scheme on a fresh system.
-
The best way to install libck is via a package manager such as
apt-get
. But if a package is not available for this library it can also be built from source. Just replace0.5.0
below with the latest version available from their website:wget http://concurrencykit.org/releases/ck-0.5.0.tar.gz tar xfz ck-0.5.0.tar.gz ; cd ck-0.5.0 ; ./configure && make all && sudo make install sudo ldconfig
-
make
-
gcc
First, download the latest release in either zip
or tar.gz
format and unpack the archive.
Run the install script without arguments to install in the default location (/usr/local
):
./install.sh
or include an argument to specify the install directory, EG:
./install.sh /home/my-username
Note:
-
This script requires superuser permissions and will prompt for them as needed.
-
When installing to a custom location, you may need to add the corresponding
bin
,include
, andlib
directories to yourPATH
in order to run cyclone and complete the installation.
At the moment, Cyclone has only been tested on Linux using GCC. Other platforms may be added in the future.
For more information please return to the main Cyclone page.
Copyright (C) 2014 Justin Ethier.
Cyclone is available under the MIT license.