Accessing SML Locally
Standard ML is available on several platforms in our department.
Linux
SML is available on the instructional linux machines (e.g. ceylon,
fiji) 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.
Solaris
SML is available on the research solaris machines
(e.g. tolt, elwha). Just add
/cse/courses/misc_lang/solaris/sml/bin to 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 machines
in the instructional labs (e.g. room 232). 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!