opam-version: "2.0" maintainer: "Christophe.Troestler@umons.ac.be" authors: [ "Albert Cohen " "Sam Steingold " "Christophe Troestler " "Stefan Monnier " ] homepage: "https://github.com/ocaml/tuareg" bug-reports: "https://github.com/ocaml/tuareg/issues" dev-repo: "git+https://github.com/ocaml/tuareg.git" doc: "https://github.com/ocaml/tuareg" build: [ [make "tuareg-site-file.el"] [make "elc"] { os != "macos" } ] depends: ["ocaml" "conf-emacs"] depopts: [ "caml-mode" # {>= "4.05"} "merlin" ] post-messages: [ "If you have not yet done so, please add the following line to ~/.emacs.d/init.el or ~/.emacs: (load \"%{share}%/emacs/site-lisp/tuareg-site-file\") " {success & !user-setup:installed} "You should consider installing \"merlin\" (completion, displaying types,...) or \"caml-mode\" (displaying types). See https://github.com/ocaml/tuareg for customization tips." ] synopsis: "OCaml mode for GNU Emacs and XEmacs." description: """ Tuareg handles automatic indentation of OCaml and Camllight codes. Key parts of the code are highlighted using Font-Lock. Support to run an interactive OCaml REPL and debugger is provided."""