Go to file
retropikzel ad94262a16 Update readme 2024-12-24 09:31:05 +02:00
test Add racket 2024-12-24 08:55:02 +02:00
.gitignore Add racket 2024-12-24 08:55:02 +02:00
Makefile Add racket 2024-12-24 08:55:02 +02:00
README.md Update readme 2024-12-24 09:31:05 +02:00
compile-r7rs Add racket 2024-12-24 08:55:02 +02:00
configure Made this 2024-12-23 22:01:08 +02:00

README.md

Non Scheme implementation specific implementation of SRFI-138.

Dependencies

For scripts:

apt install sharutils

For binaries:

apt install build-essential

For jar:

apt install default-jdk

Installing

  • Download the scman script
  • Place it in ${HOME}/.local/bin
  • Add ${HOME}/.local/bin to the PATH
    • For example add to your .bashrc: export PATH="${HOME}/.local/bin:${PATH}"
  • Make the script runnable
    • chmod -x ${HOME}/.local/bin/scman

You can also run it in place with

./scman ...

but the ${HOME}/.local/bin needs to be in your path for you to be able to run the implementations.

Usage

The environment variable SCC must be set to the same value as the implementations command. The command is the first word on the list. So for example guile for Guile, csi for Chicken interpreter, csc for Chicken compiler.

Outputs

Self contained, self extracting and runnable shell script

Requires the Scheme implementation to be installed to run.

  • chibi-scheme
  • csi (Chicken)
  • icyc (Cyclone)
  • gsi (Gambit)
  • gosh (Gauche)
  • guile
  • mosh
  • sash
  • stklos
  • skint
  • tr7i (tr7)
  • ypsilon

Static binary executable

Requires nothing to be installed to run.

  • csc (Chicken)
  • racket (Racket)

Java ARchive (JAR)

Only requires Java to be installed to run.

  • kawa
    • The build folder needs to contain kawa.jar

How it works

The scripts searches for .sld files in given paths, compiles them if needed and combines them with the main script to form something that can be run on it's own. Meaning that the only thing the person running the things needs, might be, the Scheme implementation, Java, or nothing.