simplified function specification history: each pending function specification is historized at the end of a theory, without additional bookkeeping;
sufficient to keep history stamps rather than complete historized data;
semantically conflicting specifications are temoprary blacklisted after theory merge but remain historized;
clarified signature;
#!/usr/bin/env bash
#
# Author: Makarius
#
# Isabelle/Scala script wrapper.
if [ -L "$0" ]; then
TARGET="$(LC_ALL=C ls -l "$0" | sed 's/.* -> //')"
exec "$(cd "$(dirname "$0")"; cd "$(pwd -P)"; cd "$(dirname "$TARGET")"; pwd)/$(basename "$TARGET")" "$@"
fi
## settings
PRG="$(basename "$0")"
ISABELLE_HOME="$(cd "$(dirname "$0")"; cd "$(pwd -P)"; cd ..; pwd)"
source "$ISABELLE_HOME/lib/scripts/getsettings" || exit 2
## main
exec "$ISABELLE_TOOL" scala -howtorun:script -nocompdaemon "$@"