smlfmt
« Back to VersTracker
Description:
Custom parser and code formatter for Standard ML
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: sml formatter standard-ml code-style parser
Install: brew install smlfmt
About:
Smlfmt is a custom parser and code formatter specifically designed for Standard ML. It provides consistent, readable code formatting without requiring any annotations or configuration from the developer. The tool focuses on preserving the original programmer's intent while enforcing a consistent style.
Key Features:
  • Zero-configuration formatting
  • Preserves programmer intent
  • Handles complex language features
  • Fast and reliable parsing
Use Cases:
  • Maintaining consistent code style in Standard ML projects
  • Automating code formatting in CI/CD pipelines
  • Refactoring legacy SML codebases
Alternatives:
  • smlnj – Standard ML of New Jersey includes a compiler but no built-in formatter
  • ocamlformat – Similar formatter for OCaml, but not compatible with Standard ML syntax
Version History
Detected Version Rev Change Commit
Sep 15, 2025 10:34am 0 VERSION_BUMP 230405b6
Sep 13, 2024 11:22pm 0 VERSION_BUMP 610e1f85