mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-14 13:23:53 +00:00
mcn.sh, mnp.sh: The NU-Prolog executable have been renamed *.nu. mmake.sh: Add a script for making Mercury programs. This builds a makefile and then invokes Make.
14 lines
307 B
Bash
14 lines
307 B
Bash
#!/bin/sh
|
|
|
|
# mnp - Mercury NU-Prolog Interpreter
|
|
#
|
|
# A version of `np' with `np_builtin' and the Mercury library already loaded.
|
|
#
|
|
# Usage: mnp [<np options>]
|
|
#
|
|
# Environment variables: MERCURY_INTERPRETER
|
|
|
|
INTERPRETER=${MERCURY_INTERPRETER:-@LIBDIR@/nuprolog/@FULLARCH@/library.nu}
|
|
|
|
exec $INTERPRETER "$@"
|