Software Installation

SML and its compiler

In this course, we'll use the SML programming language to finish the programming assignment. And the compiler we'll use is the SML/NJ compiler. First, visit the SML/NJ compiler website to install the compiler to your machine.

From the prompt, just type

  $ sml
to run the compiler, which will output something like this:
  Standard ML of New Jersey v110.78 [built: Sun Dec 21 15:52:08 2014]
  - 

A good starting point to learn programming in SML is Harper's nice book.

What to do next?

Download programming assignment 1, unzip it and run:
  $ sml
	- CM.make "soureces.cm";
it should be clear from the output where you should supply your code.