Programming Languages -- G22.2110
ML Compilers
M. Mauny
1 On Unix
On courses, SML and Objective Caml are installed. Caml-Light (which I
would recommand to beginners, because it is a simpler language) should
be installed soon.
The command names calling the toplevel (often called ``the
interpreter'') are:
-
SML: sml
- Caml-Light: camllight
- Objective Caml: ocaml
For all these implementations, there is online documentation. Please
goto the Links page
(http://cs.nyu.edu/courses/spring00/G22.2110-001/links.html).
If you have a personal Unix machine (Linux, FreeBSD, or whatever), you
may download and install some of these compilers from their respective
home pages (accessible from the Links page above).
2 Under Windows
SML and Caml are available under Windows too. Again, from their
respective home pages, accessibles from the Links page given above. Drop me a
message if you cannot find them.
3 Documentation
All these compilers are perfectly documented (with online
documentation). Don't hesitate to go to the FAQs that they maintain.
One hint:
For loading a source file in the toplevel (the ``interpreter''),
-
in Caml-Light, execute include "filename";;
- in Objective Caml, execute #use "filename.ml";; (with
the extension)
- in SML, execute use "filename";
This document was translated from LATEX by HEVEA.