mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-14 21:35:49 +00:00
Add script for invoking the Mercury SICStus Prolog interpreter.
mercury/scripts/msp.sh: Add script for invoking the Mercury SICStus Prolog interpreter.
This commit is contained in:
14
scripts/msp.sh
Normal file
14
scripts/msp.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
# 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}
|
||||
|
||||
exec $INTERPRETER "$@"
|
||||
Reference in New Issue
Block a user