brew install mlton
[1]: https://github.com/Homebrew/homebrew/pull/48694 brew install mlton
[1]: https://github.com/Homebrew/homebrew/pull/48694Getting the MLton compiler to install on OS X was pretty straight forward but I've never been able to get Basis to load properly.
I also recently burned an afternoon trying to install MLKit on OS X. This one seemed promising for its good docs, smltojs, and good FFI so I was bummed I couldn't get it work.
SMLNJ installs pretty easily but holy cow do you have to murder your PATH.
Eventually I settled for MoscowML which is a VM rather than native code but it has provided me the best ML on OS X experience so far. I also enjoy having the REPL.
Yours truly,
ML compiler/VM collector
You've been there longer than I, but it's nice to see your involvement in /r/sml as well. Thank you!
I've used Alice ML on a couple of projects for a while and didn't want to see it die so I got permission from the original authors to host a mirror on github and keep the bitrot away. I forked from work that Gareth Smith did on bitbucket a few years back (with his permission) that fixed some issues and added features. I'm the only one working on it at the moment but hopefully others join in. It's survived this long!
It's great to see you keeping /r/sml active!
There are some branches on the repo with more recent work to get it to compile on other platforms.