Monday, January 5, 2009

OCaml IDE

Looking for an IDE for OCaml on Mac.
(Obviously, I was not the first, see, e.g., here).
  • Emacs (Aquaemacs)
    • Download Tuareg
    • Config Aquaemacs (see)
      1. place both tuareg.el and camldebug.el somewhere in
        ~/Library/Preferences/Aquamacs Emacs/
      2. Add to ~/Library/Preferences/Aquamacs Emacs/Preferences.el (from append-tuareg.el): 
        (setq auto-mode-alist (cons '("\\.ml\\w?" . tuareg-mode) auto-mode-alist))
        (autoload 'tuareg-mode "tuareg" "Major mode for editing Caml code" t)
        (autoload 'camldebug "camldebug" "Run the Caml debugger" t)
      3. Append custom-tuaerg.el at the end of (the modified)
        ~/Library/Preferences/Aquamacs Emacs/Preferences.el
  • Camelia (for students going from scheme to ocaml)
  • Eclispe (a few plugins)

1 comment:

Dmitry Sobolev said...

This is actual version of Tuareg mode https://forge.ocamlcore.org/projects/tuareg/