Automic VaultAutomic Vault

brew

Install smlfmt with Homebrew, Nix

Custom parser and code formatter for Standard ML. Version 1.3.0 via Homebrew; verified 2026-06-14.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install smlfmt

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#smlfmt

nixpkgs package indexes · pkgs/by-name/sm/smlfmt/package.nix · source: api.github.com

overview

Package summary

Custom parser and code formatter for Standard ML

Commands and aliases

  • smlfmt

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2023: v1.0.0 release published on GitHub.
  • 2025: README records v1.2.0 release on May 2, 2025.
  • 2026: README and release list record v1.3.0 on January 1, 2026.

Related projects

  • The README references MLton, MLBasis path maps, Emacs integration through `smlfmt.el`, SuccessorML syntax extensions, and hyperfine for timing measurements.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
smlfmtcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.3.0
manager updated2026-06-14
local dataok
upstreamcurrent
latest detectedv1.3.0

https://github.com/shwestrick/smlfmt

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:smlfmt
Version1.3.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/smlfmt
Homepagehttps://github.com/shwestrick/smlfmt
Repositoryhttps://github.com/shwestrick/smlfmt
Upstream docshttps://github.com/shwestrick/smlfmt#readme
LicenseMIT
Source archivehttps://github.com/shwestrick/smlfmt/archive/refs/tags/v1.3.0.tar.gz
Last updated2026-06-14T15:13:50+02:00
Pulseupdated
Dependenciesgmp
Build dependenciesmlton
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesmlfmt
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

smlfmt

nix profile install nixpkgs#smlfmt
  • normalized package name match
  • Matched by: Smlfmt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sm/smlfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment