ocaml-installer icon indicating copy to clipboard operation
ocaml-installer copied to clipboard

Add Merlin to the installer

Open romildo opened this issue 9 years ago • 6 comments

Merlin is an editor-independent tool to ease the development of programs in OCaml. It aims to provide features available in modern IDEs such as:

  • As you type error reporting
  • Auto completion
  • Extraction of type information
  • Source browsing (jump to definition)

It may be very helpful to have Merlin installed with OCaml so that one can easily use Emacs+Tuareg+Merlin (or any other editor supported by Merlin) while developing on Windows. In particular it would make it easier for my students to set up OCaml for studying functional programming.

Please, add Merlin to ocaml-installer.

romildo avatar Oct 18 '15 10:10 romildo

"opam add merlin" works for "32-bit ocaml + cygwin-32 opam", but not for "64-bit ocaml + 64-bit opam"

msprotz avatar Dec 10 '15 16:12 msprotz

Is merlin still incompatible with 64bit version?

qdwang avatar Dec 20 '16 03:12 qdwang

At this stage we're waiting on proper OPAM support for Windows, which should hopefully happen early next year, so yeah, still not working, sadly.

msprotz avatar Dec 20 '16 16:12 msprotz

Is it possible that OPAM can natively support Windows(with out cygwin)? A lot of packages is based on *unix system features.

https://github.com/fdopen/opam-repository-mingw

I found that this repo‘s OPAM can successfully install a lot of packages like merlin, lwt and something else. support list here

Don't know what modification did he do to the OPAM. May be a little help for you guys.

qdwang avatar Dec 21 '16 01:12 qdwang

Yes, we are aware of this repository. Until recently, Andreas hadn't released his patches to OPAM, so I didn't want to redistribute an arbitrary binary. Now he has released his patches to OPAM, but these are no longer maintained, and an OPAM on Windows effort is currently happening in Cambridge Labs, so our best bet is to wait a little bit longer and see what comes out of it.

Note that the installer's OPAM points to Andreas' repository by default.

msprotz avatar Dec 21 '16 17:12 msprotz

So that's it...hope that the Windows version can be released as soon as possible.

qdwang avatar Dec 22 '16 04:12 qdwang