🌀 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-25 22:11:27 -04:00
debug Initial file 2015-02-21 22:15:18 -05:00
docs Revisions, added r7rs PDF 2015-07-25 22:11:27 -04:00
examples Add missing imports 2015-07-24 21:28:10 -04:00
include/cyclone Working on type validation for apply 2015-07-22 23:01:35 -04:00
scheme Updated tagline 2015-07-22 21:49:11 -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
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 Let the other repo track this 2015-07-22 21:47:34 -04:00
Makefile.config WIP 2015-07-20 22:55:46 -04:00
README.md Revisions, added r7rs PDF 2015-07-25 22:11:27 -04:00
runtime.c Added more type checking 2015-07-24 23:16:47 -04:00
test.scm WIP 2015-07-24 21:26:56 -04:00
test2.scm Added basic call history reporting 2015-07-13 21:46:21 -04:00
TODO Update TODO 2015-07-24 17:47:01 -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

  1. To install Cyclone on your machine for the first time use cyclone-bootstrap to build a set of binaries.

  2. After installing you can run the cyclone command to compile a single Scheme file:

     $ cyclone examples/fac.scm
     $ examples/fac
     3628800
    

    And the icyc command to start an interactive interpreter:

     $ icyc
    
                   :@
                 @@@
               @@@@:
             `@@@@@+
            .@@@+@@@      Cyclone
            @@     @@     An experimental Scheme compiler
           ,@             https://github.com/justinethier/cyclone
           '@
           .@
            @@     #@     (c) 2014 Justin Ethier
            `@@@#@@@.     Version 0.0.1 (Pre-release)
             #@@@@@
             +@@@+
             @@#
           `@.
    
     cyclone> (write 'hello-world)
     hello-world
    
  3. If you need help learning the Scheme language try a classic textbook such as Structure and Interpretation of Computer Programs.

    Also, check out the features page for a list of language features currently implemented.

Documentation

For more information about the Scheme language implemented by Cyclone, see the R7RS Scheme Specification.

The features page lists the language features currently implemented.

The development page contains instructions for hacking on Cyclone.

References

License

Copyright (C) 2014 Justin Ethier.

Cyclone is available under the MIT license.