🌀 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-05-26 21:25:09 -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 WIP 2015-05-18 22:11:56 -04:00
scheme TODO for string<? 2015-05-25 22:45:17 -04:00
tests Added (newline) and (scheme char) 2015-05-25 22:07:44 -04:00
.gitignore Initial file 2015-02-21 22:25:06 -05:00
cgen.scm Added string-cmp 2015-05-26 21:25:09 -04:00
cyclone.h Cleanup of symbol code 2015-05-22 21:54:24 -04:00
cyclone.scm Created library module 2015-05-24 16:22:06 -04:00
eval.scm Added string-cmp 2015-05-26 21:25:09 -04:00
FEATURES.md Filling out compatibility table 2015-03-26 13:32:45 -04:00
icyc.scm Added (newline) and (scheme char) 2015-05-25 22:07:44 -04:00
libraries.scm Created library module 2015-05-24 16:22:06 -04:00
Makefile Added (newline) and (scheme char) 2015-05-25 22:07:44 -04:00
parser.scm Allow escaped newline in a string 2015-03-19 13:20:18 -04:00
README.md Rename interpreter executable 2015-02-21 22:32:38 -05:00
runtime-main.h Edited header comment block 2015-05-07 21:32:59 -04:00
runtime.c Added string-cmp 2015-05-26 21:25:09 -04:00
runtime.h Added string-cmp 2015-05-26 21:25:09 -04:00
test.scm Staging (scheme read) 2015-05-20 01:09:23 -04:00
TODO Added (system) 2015-05-26 20:46:41 -04:00
trans.scm Added string-cmp 2015-05-26 21:25:09 -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.

Building

Prerequisites:

  • make
  • gcc
  • CHICKEN Scheme

CHICKEN is required to bootstrap the Scheme parts of Cyclone. A long-term goal is for the compiler to be self-hosting.

From the source directory, to build and run the compiler:

$ make
...
$ ./cyclone

To run the interpreter:

$ ./icyc

Installation

At the moment there is no support for a separate installation. Just run cyclone from the build directory.

Documentation

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

List of features.

TODO: "how it works section", or a link to a document that provides a brief overview. Much of this would also involve tying together references

References

License

Copyright (C) 2014 Justin Ethier

License terms TBD