2026-03-13 14:04:10 +02:00
2026-03-12 18:16:24 +02:00
2026-03-12 19:41:21 +02:00
2026-03-13 07:02:00 +02:00
2026-03-12 19:50:47 +02:00
2026-03-13 14:04:10 +02:00
2026-03-13 08:48:19 +02:00

Implementation of SRFI-138: Compiling Scheme programs to executables made with POSIX Shell.

Usage

COMPILE_R7RS=${SCHEME} compile-r7rs -o main -I libs -A other_libs main.scm
./main

Suppoerted implementations

  • capyscheme
  • chezscheme
  • chibi
  • chicken
  • cyclone
  • foment
  • gauche
  • guile
  • ikarus
  • ironscheme
  • kawa
  • larceny
  • loko
  • meevax
  • mosh
  • mit-scheme
  • racket
  • sagittarius
  • skint
  • stklos
  • tr7
  • ypsilon

How it works

With compilers, it compiles. With interpretes it creates a script file which contains shebang to run the implementation with given -I and -A paths and contents of input file (.sps or .scm).

Misc

  • No support for -D yet.
Languages
Shell 74.7%
Makefile 25.3%