CS 6110 (Spring 2011)

Advanced Programming Languages
MWF 10:10-11:00
Phillips 213

Texts

The following electronic resources may also be useful.

OCaml

Installation

Download and install OCaml. Install the latest release available for your platform. Windows users should install the MinGW port.

Installing Emacs with Tuareg Mode

You can develop OCaml programs using any text editor. We suggest Emacs with Tuareg mode, a special mode for editing OCaml files. You can find the software and installation instructions on the Tuareg page. Emacs with Tuareg is installed on the Windows machines in the public CIT labs and CSUGLab.

Installing the OCaml Plugin for Eclipse

If you are familiar with the Eclipse development environment, there are three OCaml plugins for Eclipse available in various states of development. Of the three OCaml plugins for Eclipse, we had the best luck with OcaIDE. You will need to upgrade to Eclipse 3.5 (Galileo) if you have not done so already. We were able to install OcaIDE without problems on an Intel-based Mac running Mac OS X 10.5 (Leopard) following the online instructions.

Installation and configuration on Windows was a little more painful but ultimately successful. The plugin requires bash, a Unix command interpreter, which comes with Cygwin, a Unix-like environment for Windows. You should install Cygwin and put C:/cygwin/bin/ on your Windows path. In addition, if you wish to use make for building your projects (recommended), you will need to install Gnu make for Windows and configure Eclipse to point to it (Window > Preferences > OcaIDE > Paths). There are other options for building in Eclipse and you can get along without this, but in the long run it is the best option. We will generally provide a skeleton makefile with project releases.

Validate XHTML Validate CSS
Last updated January 2011