🌀 A brand-new compiler that allows practical application development using R7RS Scheme. We provide modern features and a stable system capable of generating fast native binaries.
Find a file
2015-07-22 21:30:15 -04:00
debug Initial file 2015-02-21 22:15:18 -05:00
docs Initial file 2015-02-21 22:15:18 -05:00
examples Obsolete 2015-05-29 21:15:17 -04:00
include/cyclone Fixes 2015-07-21 22:36:38 -04:00
scheme Relocated scm files into corresponding sld directories 2015-07-20 21:54:46 -04:00
tests Added more I/O tests 2015-06-24 21:22:54 -04:00
.gitignore Initial file 2015-02-21 22:25:06 -05:00
cyclone.scm Build using bootstrapped cyclone 2015-07-21 21:53:58 -04:00
FEATURES.md Comments on vector support 2015-06-04 21:38:02 -04:00
generate-c.scm WIP - relocating header files 2015-07-18 22:10:38 -04:00
icyc.scm Self-hosted version compiles now, but is very broken... 2015-07-01 22:58:36 -04:00
LICENSE Updated year 2015-07-22 21:30:15 -04:00
Makefile Fixes 2015-07-21 22:36:38 -04:00
Makefile.bootstrap Updated to sync with bootstrap repo 2015-07-21 21:13:28 -04:00
Makefile.config WIP 2015-07-20 22:55:46 -04:00
README.md Revisions 2015-07-22 21:29:07 -04:00
runtime.c Fixes 2015-07-21 22:36:38 -04:00
test.scm Added call-with-values back 2015-06-11 01:35:43 -04:00
test2.scm Added basic call history reporting 2015-07-13 21:46:21 -04:00
TODO Removed completed items 2015-07-22 19:42:33 -04:00

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 for the first time, you will need to use cyclone-bootstrap to build a set of binaries.

After installing you can read the Documentation section below for more.

Building

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

You may then run the compiler using the cyclone command, and run the interpreter using icyc.

Documentation

Run the cyclone command to compile a single Scheme file, and the icyc command to start the interactive interpreter.

For more information about the Scheme language implemented by Cyclone, see the R7RS Scheme Specification. Here is a list of included features.

References

License

Copyright (C) 2014 Justin Ethier

Cyclone is available under the MIT license.