macOS
brew install smlfmtlocal Homebrew formula metadata
brew
Custom parser and code formatter for Standard ML. Version 1.3.0 via Homebrew; verified 2026-06-14.
install
brew install smlfmtlocal Homebrew formula metadata
nix profile install nixpkgs#smlfmtnixpkgs package indexes · pkgs/by-name/sm/smlfmt/package.nix · source: api.github.com
overview
Custom parser and code formatter for Standard ML
history
smlfmt is a command-line parser and formatter for Standard ML. It is a niche but package-manager-relevant developer tool because it brings modern formatter workflows, including check mode and whole-project formatting, to an older ML-family language ecosystem.
The official README describes smlfmt as a custom parser and code formatter for Standard ML, fast enough for large projects and used to format its own source tree. The repository release list and README record v1.0.0 in January 2023, v1.2.0 in May 2025, and v1.3.0 in January 2026.
The supplied package metadata shows smlfmt packaged in Homebrew and Nix, a typical adoption path for smaller language tooling. Its README targets command-line workflows rather than editor-only integration, including stdin/stdout use, CI-friendly checking, and `.mlb` whole-project formatting.
Users build it with MLton, format `.sml` files in place, pipe code through stdin/stdout, or pass an `.mlb` file to format many files. Options include `--preview`, `--preview-only`, `--read-only`, `--check`, width and indentation controls, and SuccessorML syntax toggles.
Package maintainers care because smlfmt packages a language-specific formatter with MLton build requirements, command-line formatting semantics, and CI use through `--check`. It fills the same ergonomic role for Standard ML that formatter packages do for larger language ecosystems.
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 |
|---|---|---|---|
smlfmt | 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.
https://github.com/shwestrick/smlfmt
install metadata
| Package key | brew:smlfmt |
|---|---|
| Version | 1.3.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/smlfmt |
| Homepage | https://github.com/shwestrick/smlfmt |
| Repository | https://github.com/shwestrick/smlfmt |
| Upstream docs | https://github.com/shwestrick/smlfmt#readme |
| License | MIT |
| Source archive | https://github.com/shwestrick/smlfmt/archive/refs/tags/v1.3.0.tar.gz |
| Last updated | 2026-06-14T15:13:50+02:00 |
| Pulse | updated |
| Dependencies | gmp |
| Build dependencies | mlton |
| 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 | smlfmt |
| 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.
smlfmt
nix profile install nixpkgs#smlfmtsource 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.