This image provides SML/NJ execution environment on x86_64 and x86 Linux.
7.1K

StandardML of New Jersey(abbrivated SML/NJ) is an implementation of StandardML'97 programming language. SML/NJ provides light weight interactive shell and many tools and libraries.
SML/NJ running on 64bit and 32bit host architectures. This docker image supports both amd64 and 386 linux environment.
Recent versions SML/NJ supports 64/32bit dual mode on 64bit host. This repository images support these mode.
When this docker image is executed with no argument, run the sml command via the rlwrap. This rlwrap loads command line history from ~/.sml_history or the file specified with environment variable SML_HISTORY if defined.
For example, run this image like below:
$ docker -it -v $HOME:$HOME \
-e SML_HISTORY=$HOME/.sml_history \
eldesh/smlnj:110.98
then host side file ($HOME/.sml_history) will be loaded.
If you take an error such like:
$ docker run -it -v $HOME:$HOME -e SML_HISTORY=$HOME/.sml_history eldesh/smlnj:110.98
rlwrap: error: My terminal reports width=0 (is it emacs?) I can't handle this, sorry!
It is avoidable with executing shell like below:
$ docker run -it -v $HOME:$HOME -e SML_HISTORY=$HOME/.sml_history eldesh/smlnj:110.98 bash
[smlnj@30e4f88804dd ~]$ ./entrypoint.sh
Standard ML of New Jersey (64-bit) v110.98 [built: Mon Jul 20 15:10:33 2020]
-
Content type
Image
Digest
Size
135.9 MB
Last updated
over 5 years ago
docker pull eldesh/smlnj