Accessing SML Locally

Standard ML is available on several platforms in our department.

Linux

SML is available on the instructional Linux machines (i.e., attu) as well as the research linux machines. Just make sure /usr/bin is in your path. To run the SML interpreter, type sml in a shell. To load a bunch of functions from a file myfile.sml into the interpreter, type use "myfile.sml"; at the interpreter prompt. Use ctrl-d to exit the interpreter.

Windows

SML is available on the Windows machines in the instructional labs. You can find and run the SML interpreter from the START menu via the path All Programs / Desktop Tools / SMLNJ. To load a bunch of functions from a file myfile.sml into the interpreter, type use "myfile.sml"; at the interpreter prompt. Use ctrl-d to exit the interpreter.

Don't like these options?

Download SML yourself!