The package, sml-mode, is an Emacs mode that allows editing SML code, and running an SML interpreter as a subprocess of Emacs. Actually, it can use any standard-compliant interpreter, like SML of New Jersey, and MoscowML?.
Some useful links:
Enjoy.
CategoryModes, ProgrammingModes