lib/Tools/ghc
author wenzelm
Mon, 05 Nov 2018 17:37:55 +0100
changeset 69241 5426d266dcc5
parent 69160 30c384e72749
child 69265 bd215c56cd96
permissions -rwxr-xr-x
clarified names;

#!/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