lib/Tools/ghc
author wenzelm
Wed, 31 Oct 2018 15:50:45 +0100
changeset 69215 ab94035ba6ea
parent 69160 30c384e72749
child 69265 bd215c56cd96
permissions -rwxr-xr-x
tuned;

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

if [ -d "$ISABELLE_STACK_ROOT" -a -n "$ISABELLE_GHC" ]; then
  isabelle_stack ghc -- "$@"
else
  echo "Cannot execute ghc: missing Isabelle GHC setup" >&2
  exit 127
fi