lib/Tools/scala
author haftmann
Fri, 06 Apr 2012 18:17:16 +0200
changeset 47397 d654c73e4b12
parent 47115 1a05adae1cc9
child 47441 2fa904af222f
permissions -rwxr-xr-x
no preference wrt. fold(l/r); prefer fold rather than foldr for iterating over lists in generated code

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: invoke Scala within the Isabelle environment

[ -e "$ISABELLE_HOME/Admin/build" ] && { "$ISABELLE_HOME/Admin/build" jars || exit $?; }

CLASSPATH="$(jvmpath "$CLASSPATH")"
isabelle_scala scala -Dfile.encoding=UTF-8 \
  "-Djava.ext.dirs=$("$ISABELLE_HOME/src/Tools/JVM/java_ext_dirs")" "$@"