This page provides pointers to the SML/NJ software distributions and installation instructions.
The current release of SML/NJ is Version 110, originally introduced in February 1998. Version 110 runs under Unix, Windows 95 or Windows NT. (The the current release version number is 110.0.7, representing the 7th patch release of 110, but we will refer to this version as 110 for short. )
To download and install SML/NJ 110, follow these installation instructions.The files making up the Version 110 distribution are available via http from this index page. The following sites mirror the distributions (if you run a mirror site not listed here, please let us know):
The Distribution Files
- Stanford University (California)
- Yale University (Connecticut)
- DIKU (Denmark)
- Cambridge (UK)
- SunSITE (UK)
- National Technical Univ. of Athens (Greece)
- KAIST (Korea)
- Vienna Univ. of Technology, Austria ( ftp version)
Previous ReleasesVersion 0.93 (released in 1993) is still available but is no longer supported.
Working VersionsWorking versions are created for internal development purposes and vary in reliability and stability. Some are robust enough for noncritical research use, others are not. Please pay careful attention to the README or NEWS file for each version before attempting to use it. Current and recent working versions are listed in the Working Versions index, which gives access to README files for recent working versions and the ftp directories for working versions that are currently available for downloading. The installation instructions for the release version will generally work, mutatis mutandis, for working versions. Some older working versions can be found at ftp://ftp.research.bell-labs.com/dist/smlnj/working.
We generally announce new versions (including working versions) on comp.lang.ml, comp.lang.functional, freshmeat.net, and our development mailing list .
After version 110.9.1, the older "cmachine" (i.e. non-MLRISC) code generators were replaced by new MLRISC code generators, except for the MIPS architecture, which is currently not supported in the latest working version. Work on a new MIPS MLRISC code generator is in progress.
The directoryftp://ftp.research.bell-labs.com/dist/smlnj/packages/.contains software packages that are not part of the core SML/NJ distribution. Currently, this directory contains:
- ckit, a C front end.
A set of programs used as a "benchmark suite" for Standard ML is available at:ftp://ftp.research.bell-labs.com/dist/smlnj/benchmarks/.
SML/NJ Compiler Test Suites
The regression test suites used for the SML/NJ compiler are available at:ftp://ftp.research.bell-labs.com/dist/smlnj/testing/.
Some contributed software packages can be found atftp://ftp.research.bell-labs.com/dist/smlnj/contrib/.Currently this directory contains:
- The sml-mode package provides an emacs mode for editing sml code under Gnu emacs and running the sml top-level as a subprocess of emacs. Originally developed by Matthew J. Morley, it is now maintained by Stefan Monnier . The latest version is 3.9.5 (Dec 22, 2000). Online documentation is available here. The latest sml-mode tarball is available at Yale and is mirrored at Bell Labs.
- Various software tools, including:
- heap2exec, Lorenz Huelsbergen's "heap2exec" utility for building Unix executables from heap images and the SML/NJ runtime executable.
- lexgenmos.tar.Z, a translation of the Moscow ML lexer generator, which produces lexers that run a bit faster than the improved ML-Lex in working version 110.7.
- Some contributed or "borrowed" libraries, including:
Additional packages will be added as they become available. New contributions are eagerly sought!