Go to file
retropikzel e007dc1611 Move to using #|...|# form (#1)
#!/usr/bin/env -S is not supported on busybox, which Alpine linux uses. So migrate all to use #|...|# form.

Branch name is not correct, no shebang lines were added. In fact they were removed.

Co-authored-by: retropikzel <retropikzel@iki.fi>
Co-committed-by: retropikzel <retropikzel@iki.fi>
2026-03-22 18:07:56 +01:00
.gitignore First version 2026-03-12 18:16:24 +02:00
Dockerfile.jenkins Add Shellcheck to Jenkins 2026-03-14 12:50:01 +02:00
Dockerfile.test Add support for Gambit 2026-03-21 07:41:14 +02:00
Jenkinsfile Add Shellcheck to Jenkins 2026-03-14 12:50:01 +02:00
Makefile Move to using #|...|# form (#1) 2026-03-22 18:07:56 +01:00
README.md Fix typo in readme 2026-03-21 14:36:24 +02:00
compile-r7rs Move to using #|...|# form (#1) 2026-03-22 18:07:56 +01:00
configure Add configure file 2026-03-20 19:07:53 +02:00

README.md

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

Supported 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.