mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-16 22:35:41 +00:00
Estimated hours taken: 0.1 scripts/msp.in: Invoke `library.sicstus.debug' rather than `library.sicstus'. (The only difference is that `library.sicstus' prints out a nice prompt. This difference is not worth the 2M of disk space that `library.sicstus' occupies.)
24 lines
745 B
Bash
24 lines
745 B
Bash
#! /bin/sh
|
|
# @configure_input@
|
|
#---------------------------------------------------------------------------#
|
|
# Copyright (C) 1995 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
|