STKLOS-SCRIPT(1)

NAME
stklos-script - Wrapper for running STklos code as scripts on Unix

IMPORTANT NOTE
This command is no more useful. You can now use the name stklos in place of stklos-script. The command is kept for compatibility with older scripts.

DESCRIPTION
SRFI-22 (Running Scheme Scripts on Unix) recommends to invoke the Scheme script interpreter from the script via a /usr/bin/env trampoline, like this:

#!/usr/bin/env stklos-script

Here is an example of the classical echo command (without option) in Scheme:

#!/usr/bin/env stklos-script
(define (main arguments)
  (for-each (lambda (x) (display x) (display #\space))
            (cdr arguments))
  (newline)
  0)

SEE ALSO
stklos(1) stklos-compile(1)