In this release:
- #77:
--safety-check
flag for checking that the output ofsmlfmt
is correct, i.e., that the result is valid SML that exactly matches the source except for whitespace.- Note: originally called
--check
but renamed to--safety-check
in #92.
- Note: originally called
- #84, #86: allow passing input and output through
stdin
andstdout
.- For example:
echo "val x = 5 val y = 6" | ./smlfmt
orcat test.sml | ./smlfmt > output.sml
- For example:
- #87:
--read-only
flag, useful for checking for syntax errors - #93:
make install
formula - #92:
--check
flag, to check if a file has already been formatted. Useful for CI. - Some bugfixes and other small improvements, e.g., 656885b 4d1952a
Also note that https://github.com/diku-dk/smlfmt.el offers Emacs integration for smlfmt
.
Thanks @kopecs @p-ouellette @brandonspark @athas @ratsclub for your contributions!