Merge pull request #168 from equwal/load-file

Added support for other lisp implementations based on research.
This commit is contained in:
Masataro Asai 2019-10-27 16:33:46 -04:00 committed by GitHub
commit 48b1122419
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,8 +2,17 @@
LISP=sbcl LISP=sbcl
## Disclaimer: ### DON'T EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING. ###
## I have not tested that all lisps take the "--load" flag. DUMP="dump-db.lisp"
## This code might spontaneously combust your whole everything. if [ "$LISP"="cmucl" ] || [ "$LISP"="lispworks" ] || [ "$LISP"="gcl" ] || [ "$LISP"="abcl" ];
then $LISP -load $DUMP
$LISP --load "dump-db.lisp" else
if [ "$LISP"="clisp" ];
then $LISP -i $DUMP
else
if [ "$LISP"="allegro" ];
then $LISP -l $DUMP
else $LISP --load $DUMP #SBCL CCL ECL
fi
fi
fi