changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > infra / scripts/eval.sh

changeset 371: 7dcabf3e0edc
parent: 30fa758d74b7
author: Richard Westhaver <ellis@rwest.io>
date: Tue, 24 Sep 2024 15:53:24 -0400
permissions: -rwxr-xr-x
description: no link in bootstrap.sh
1 #!/bin/sh
2 
3 # eval lisp code with sbcl
4 LISP=sbcl
5 args=""
6 FILE="${1}"
7 # "#-quicklisp (load (merge-pathnames \"quicklisp/setup.lisp\" (user-homedir-pathname)))"
8 [[ -z "$FILE" ]] && : || args="--script $FILE "
9 FORM=${2}
10 [[ -z "$FORM" ]] && : || args="--eval $FORM "
11 $LISP $args --eval "(quit)"