cyclone/README.md
2015-07-24 11:44:39 -04:00

2.6 KiB

cyclone-scheme

Cyclone is an experimental Scheme-to-C compiler that uses the Cheney on the MTA technique to implement full tail recursion, continuations, and generational garbage collection.

Getting Started

If you are installing Cyclone on your machine for the first time use cyclone-bootstrap to build a set of binaries.

After installing you can run the cyclone command to compile a single Scheme file, and the icyc command to start an interactive interpreter.

Building

Please skip this section if you are installing Cyclone on a machine for the first time. Otherwise, if you already have a copy of Cyclone installed you can build from Scheme source.

The following prerequisites are required:

  • make
  • gcc
  • Existing installation of Cyclone

From the source directory, use the following commands to build and install:

$ make
$ make test
$ sudo make install
$ ./cyclone

By default everything is installed under /usr/local. This may be changed by passing a different PREFIX. For example:

make PREFIX=/home/me install

Documentation

For more information about the Scheme language implemented by Cyclone, see the R7RS Scheme Specification. The features page lists what has been implemented so far.

References

License

Copyright (C) 2014 Justin Ethier.

Cyclone is available under the MIT license.