A set of tools and libraries for real-life Scheme. Multiplatform and mobile.
IMPORTANT NOTE: This repository is deprecated and SchemeSpheres discontinued. However, progress is now being made as smaller libraries, using the new r7rs support in Gambit, which render some of the ideas here implemented obsolete.
Some of these new projects are:
The libraries are implemented in R7RS style. Support and installation depends on the Scheme implementation used. Spheres is mainly developed for Gambit, but nothing stops other implementations to use and adapt these libraries.
In order to use these libraries, we need to provide Gambit with R7RS libraries and syntax-rules support. See below for current limitations. The following process will set up Gambit for use with Spheres in Linux, OSX or Windows:
In order to make a library available within the REPL, the extended load form is used:
(load (spheres/core base))
Spheres also brings automated compilation and multiplatform/mobile build scripts. In order to make this functionality available, you need to install Ssrun. Once you do this, you can download the project template if you want to create a project based on Spheres. Additionally, with Ssrun, you can call the compilation tasks within the REPL:
(load (spheres/core base) compile: #t)
Spheres supports syntax-rules and define-macro syntax. While Gambit will natively support R7RS in the future, at the moment we provide asubset of the functionality for practical usage:
Please, write to the project contributors if you are interested. Any help is welcome!