Looking for OCaml IDE [closed]

余生长醉 提交于 2019-12-01 02:14:32

There is TypeRex, a new development environment for OCaml. Here is a summary of TypeRex features:

  • Improved syntax coloring
  • Auto-completion of identifiers (experimental)
  • Browsing of identifiers: show type and comment, go to definition, cycle between alternate definitions, and semantic grep;
  • Strictly semantic-preserving, local and whole-program refactoring:
    • renaming identifiers and compilation units
    • open elimination and reference simplification
  • Robust w.r.t. not-recompiled, possibly unsaved buffers
  • Scalable (used regularly on a few hundreds of source files)

There are some screenshots available on the website. The first release candidate is out since yesterday.

EDIT: The first release (v1.0) is out now :-)

hcarty

There are a few options:

  1. Tuareg for emacs was already mentioned: http://tuareg.forge.ocamlcore.org/
  2. vim has a few options for OCaml integration, with one good example available here: http://www.ocaml.info/software.html#vim
  3. OcaIDE seems to be the best option for Eclipse: http://www.algo-prog.info/ocaide/
  4. Geany, Komodo Edit and a number of other editors have syntax highlighting support for OCaml and some extra IDE-like features which are independent of the programming language being used. Most of these have limited OCaml-specific support.

OCaml is not dead. Some of the more vocal industry users of OCaml are XenSource/Citrix and Jane St. Capital. The language does not receive the same public and community evangelism that some other languages receive.

It's been years, but I really liked emacs' tuareg mode http://tuareg.forge.ocamlcore.org/

But if you're afraid of emacs, then it's not the right tool.

I specially like the shell integration and the possibility to "throw" a function you're developping in the shell and then test it.

EDIT For the subquestion, OCaml seems dead, and it's a pitty. However you cannot compare it with ruby/python. I'd say it's main competitor is Haskell which seems to be growing in popularity.

Googling "ocaml ide" shows now http://camelia.sourceforge.net/ as the first result. Haven't tested it though, so I can't really say if it is recommendable or not.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!