mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-17 14:57:03 +00:00
24 lines
754 B
Bash
24 lines
754 B
Bash
#! /bin/sh
|
|
# @configure_input@
|
|
#---------------------------------------------------------------------------#
|
|
# Copyright (C) 1995-1996 The University of Melbourne.
|
|
# This file may only be copied under the terms of the GNU General
|
|
# Public License - see the file COPYING in the Mercury distribution.
|
|
#---------------------------------------------------------------------------#
|
|
|
|
# msp - Mercury SICStus Prolog Interpreter
|
|
#
|
|
# A version of `sp' with `sp_builtin' and the Mercury library already loaded.
|
|
#
|
|
# Usage: msp [<sp options>]
|
|
#
|
|
# Environment variables: MERCURY_SICSTUS_INTERPRETER
|
|
|
|
INTERPRETER=${MERCURY_SICSTUS_INTERPRETER=\
|
|
@LIBDIR@/sicstus/@FULLARCH@/library.sicstus.debug}
|
|
|
|
case $# in
|
|
0) exec $INTERPRETER ;;
|
|
*) exec $INTERPRETER "$@" ;;
|
|
esac
|