#!/bin/sh cp ../static/*-backend/* . echo 'Compile CPSCM for Chicken Scheme (Y/n)?' read in if test "x$in" != "xn"; then make fi cat <.scm To run from SISC: sisc .scm is one of scm2js, scm2lisp or scm2scm. At the scheme REPL: > (import ) > (:compile ) where is your current backend. For example, > (import scm2js) > (scm2js:compile "../static/scheme-examples/fact.txt" "fact.js") EOF