smlfmt

Parser and code formatter for Standard ML with customizable output

brewmacoslinux
Try with needOr install directly
Source

About

Custom parser and code formatter for Standard ML

Commands

smlfmt

Examples

Format a Standard ML file and display the output$ smlfmt file.sml
Format a file in-place, modifying the original$ smlfmt --output file.sml file.sml
Format code from stdin$ cat file.sml | smlfmt