Merge pull request #168 from equwal/load-file
Added support for other lisp implementations based on research.
This commit is contained in:
commit
48b1122419
1 changed files with 14 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue