macOS
brew install smlnjlocal Homebrew formula metadata
sudo port install smlnjMacPorts ports tree · lang/smlnj/Portfile · source: api.github.com
brew
Compiler and programming system for Standard ML. Version 2026.1 via Homebrew; verified 2026-06-21.
install
brew install smlnjlocal Homebrew formula metadata
sudo port install smlnjMacPorts ports tree · lang/smlnj/Portfile · source: api.github.com
nix profile install nixpkgs#smlnjnixpkgs package indexes · smlnj · source: raw.githubusercontent.com
sudo pacman -S smlnjArch Linux sync databases · smlnj · source: geo.mirror.pkgbuild.com
sudo apt install libckit-smlnjUbuntu 24.04 LTS package indexes · libckit-smlnj · source: archive.ubuntu.com
sudo zypper install smlnjopenSUSE Tumbleweed package metadata · smlnj · source: download.opensuse.org
overview
Compiler and programming system for Standard ML
history
Standard ML of New Jersey is a compiler, interactive system, and programming environment for the Standard ML language.
The official background page says SML/NJ was originally developed jointly at Bell Laboratories and Princeton University and later became a joint research project involving Bell Labs, Lucent Technologies, Princeton, Yale, and AT&T Research.
The current official site describes SML/NJ as free, open-source software with associated libraries, tools, and documentation. Its GitHub README identifies the main repository as the active development tree and recommends the legacy version for production use.
The official background page notes SML/NJ use in large systems in applied logic, verification, program analysis, and advanced compilers.
The project has remained packaged across Unix-like package managers, with Homebrew, MacPorts, Nix, Arch, Ubuntu, and openSUSE names present in the input package facts.
Users typically enter the `sml` interactive system or use the included build and language-processing tools such as `ml-yacc`, `ml-lex` successors, `ml-ulex`, `ml-antlr`, and `ml-build`.
The official User's Guide documents installation, the interactive system, the Compilation Manager, SML/NJ libraries, and programming tools.
SML/NJ is a long-lived compiler distribution with an unusually rich toolchain: compiler, runtime, libraries, parser and lexer generators, compilation manager, and documentation.
For package maintainers, it is significant because it spans legacy and development release lines, platform-specific installers, boot files, and source builds.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
asdlgen | cli | global executable | |
heap2exec | cli | global executable | |
ml-antlr | cli | global executable | |
ml-build | cli | global executable | |
ml-burg | cli | global executable | |
ml-makedepend | cli | global executable | |
ml-ulex | cli | global executable | |
ml-yacc | cli | global executable | |
sml | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:smlnj |
|---|---|
| Version | 2026.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/smlnj |
| Homepage | https://www.smlnj.org/ |
| Repository | https://github.com/smlnj/smlnj |
| Upstream docs | https://github.com/smlnj/smlnj#readme |
| License | BSD-3-Clause |
| Source archive | https://smlnj.org/dist/working/2026.1/smlnj-arm64-unix-2026.1.tgz |
| Last updated | 2026-06-21T00:20:16Z |
| Pulse | updated |
| Build dependencies | autoconf, cmake, python@3.14 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | smlnj |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
smlnj
nix profile install nixpkgs#smlnjlibckit-smlnj 110.79-8build1
SML library for parsing and type-checking C programs
sudo apt install libckit-smlnjlibcml-smlnj 110.79-8build1
Concurrent ML extension of SML
sudo apt install libcml-smlnjlibcmlutil-smlnj 110.79-8build1
Concurrent ML utility library
sudo apt install libcmlutil-smlnjlibexene-smlnj 110.79-8build1
Concurrent ML library for the X Window System
sudo apt install libexene-smlnjlibmlnlffi-smlnj 110.79-8build1
No Longer Foreign Function Interface
sudo apt install libmlnlffi-smlnjlibmlrisctools-smlnj 110.79-8build1
Library for generating MLRISC modules
sudo apt install libmlrisctools-smlnjlibpgraphutil-smlnj 110.79-8build1
Portable graph utility library for SML Compilation Manager
sudo apt install libpgraphutil-smlnjlibsmlnj-smlnj 110.79-8build1
Useful libraries for Standard ML of New Jersey
sudo apt install libsmlnj-smlnjml-burg 110.79-8build1
Code generator for Standard ML
sudo apt install ml-burgml-lex 110.79-8build1
Lexical analyzer generator for Standard ML
sudo apt install ml-lexml-lpt 110.79-8build1
SML/NJ language processing tools
sudo apt install ml-lptml-nlffigen 110.79-8build1
ML generator for C glue code
sudo apt install ml-nlffigenml-yacc 110.79-8build1
Parser generator for Standard ML
sudo apt install ml-yaccnowhere 110.79-8build1
Translates programs from an extended Standard ML to Standard ML
sudo apt install nowheresmlnj 110.79-8build1
Standard ML of New Jersey interactive compiler
sudo apt install smlnjsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.