A lovely page. It’s worth noting that SML has been revived a bit and has a few new spiffy sites
And not a single serviceable editor extension. Emacs, TextMate, SublimeText, Atom, .. nothing seems to format SML well. The SML code I download seems appropriately formatted, anything I create requires manual indentation. What do people use to write SML? Preferably with Emacs.
In addition, no readline support - for reasons no one can truly seem to comprehend. Just another frustrating oddity of working with SML. // in before rlwrap.
Can rlwrap help?
Obviously sml-mode is the first thing I tried, in all its variants, thenTuareg.
Load it. Open any SML file that looks good. Now hit TAB and see it dismantle all form.
I’ve only written OCaml, so Tuareg worked fine for me. That’s a pain :|
Are you comfortable with elisp? Could fix it you know :)
I don’t like learning to write new languages by writing an emacs mode for them. I know so little of the Language Way that I might not capture all the aesthetic nuances. And other people seem to be indenting them just fine; so why not tell me what they use? :-P
I asked a few ML users, they just use sml-mode AFAICT. :\
shouldn’t this be tagged ml?
Added the tag.