cyclone/README.md
2015-07-24 21:30:14 -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:

$ 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

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.

The development page contains instructions for hacking on Cyclone.

References

License

Copyright (C) 2014 Justin Ethier.

Cyclone is available under the MIT license.