Gambit port of rapid-scheme.
It runs some R7RS programs with Gambit interpreter.
About 80 % of R7RS symbols implemented(or stubbed out). See Status page for current status.
Larceny can be Win32 native version even if you build on Cygwin. Build script will automagically converts Cygwin path into Win32 path when invoke Larceny to bootstrap rapid-scheme.
Build script will automatically detect chibi-scheme and use it when Larceny is not available.
Since rapid-scheme is written in R7RS and Gambit is R5RS, we will need other R7RS to bootstrap. Currently we use Larceny for this purpose.
CMakeLists.txt assumes rapid-scheme
submodule initialized properly.
# Initialize submodule first
git submodule update --init
# Create build directory anywhere you want
mkdir _build
cd _build
# Generate Makefile
cmake -DCMAKE_INSTALL_PREFIX=/opt/rapid-gambit ../ # Path to this repository
# Build and test
make
make test
# Installation
make install
# Run program
/opt/rapid-gambit/bin/rapid-gambit prog.scm
CMakeLists.txt will accept following variables:
RAPID_SCHEME_ROOT
- Path to rapid-scheme rootRAPID_GAMBIT_GSI
- Path to Gambit's gsi
executableRAPID_GAMBIT_GSC
- Path to Gambit's gsc
executableRAPID_GAMBIT_LARCENY
- Path to Larceny executable to bootstrapCompiled-in/distributed with rapid-gambit executable:
rt
- Runtime procedures/macros for rapid-schemer7
- R7RS proceduressrc
- Sources for rapid-gambit
program/frontend supportlib
- Standard libraries for rapid-gambit
in R7RS formBuild support:
cmake
- Support scripts written in CMake languagebuild
- Bootstrap/build support scriptsExternal project:
rapid-scheme
- Git submodule of rapid-scheme project
It can override with RAPID_SCHEME_ROOT
CMake variableRapid-Gambit is combination of:
CMakeLists.txt
:
I hereby release it into the Public domain.