Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a good "OCaml Browser" tool for Linux?

I'm using Emacs + Typerex for OCaml programming. I have tried OcaIDE before in Windows. It's not as nice as Typerex, but it does have a good feature: Ocaml Browser

OcaIDE in Windows

Is there anyway to have such a browser in Typerex? (eclipse + OcaIDE in linux might work, but I do not like it as much as typerex)

Thanks

like image 534
octref Avatar asked Feb 13 '13 00:02

octref


1 Answers

ocamlbrowser is actually the name of a program that has been distributed with the OCaml compiler for a very long time. It is written with LablTk, maintained by Jacques Garrigue, and was inside the "ocaml distribution" (instead of an external tool) because it accessed .cmi files in ways that rely on internal details of the compiler.

So the short answer is: "yes, just call ocamlbrowser in your terminal" (assuming your distribution packaged ocamlbrowser with the compiler, which may or may not be the case; there may be a separate ocamlbrowser package instead). The look&feel of the tool may be a bit dated compared to a shiny Eclipse version, but it indeed exists and works fine.

like image 56
gasche Avatar answered Oct 24 '22 04:10

gasche