#! /bin/sh # Use #! /usr/bin/env runjscheme as first line of JScheme script. # you must have java and runjscheme in your path. H=`dirname $0`/.. D=":" case `uname` in CYGWIN* ) H=`cygpath -w $H` D=";" ;; esac java -jar "$H/lib/jscheme.jar" elf/basic.scm '(define (run args) (set! ARGS args) (load (vector-ref args 0)))' -main run "$@"