Our labs have three installations of the SML/NJ compiler. You can use the one that is most convenient to you.
Note: You can access our Linux or HP workstations remotely if (and only if) you have a Secure Shell client software installed on your machine. Just type
At the Unix prompt type sml.
This will bring up the latest version of the SML/NJ interactive compiler. Once the interpreter is loaded you will be prompted for input. To run an ML expression you either type it directly at the ML prompt (-) or copy and past it from your editor of choice. Expressions can be typed over multiple lines by pressing the Enter key. If you press Enter before an expression is completed, the ML prompt will change into =. Make sure to end with a semicolon (;) each expression you want to evaluate.
Type Control-D to quit the compiler.
See the document Using the SML/NJ System, for for information on how to use the compiler, interpret its error messages, load source files and so on. Although they are written for the SML installation at CMU, most of their content applies to our installation as well.Check this first for information on the Windows application server.
Once you are logged in, Launch the following application from the Start menu of the Windows desktop: Start|Programs|Development|ML|SML
This will bring up the latest version of the SML/NJ interactive compiler, which behaves like the one the Linux machines (except that you need to close the window to exit the compiler).At the Unix prompt type sml.
This will bring up an obsolete version of the SML/NJ compiler, which works basically the same way as the one on the Linux machines. You can try it for small examples; but beware that it implements a previous version of SML and so its behavior may be slightly different from the one explained in the suggested SML tutorials and textbooks.