3

I'm using OCamlWinPlus v1.9RC4. It sucks pretty hardcore. It's constantly crashing, and lacks basic features. What other toplevel OCaml programs can be recommended for Windows Vista?

tshepang
  • 12,111
  • 21
  • 91
  • 136
Nick Heiner
  • 119,074
  • 188
  • 476
  • 699
  • Did you mean toplevels for windows? – bandi Sep 13 '09 at 20:30
  • yeah sorry for not making that clear – Nick Heiner Sep 13 '09 at 21:07
  • @Rosarch: yeah it was pretty crappy when I used it in college, so I added to it...annnd I stopped fixing it when I stopped doing OCaml work. If I recall, it doesn't do Vista right if you're not an administrator. *(Obviously this is old, so you may not even use OCaml any more)* – user7116 May 04 '12 at 01:41

3 Answers3

1

You can use a Windows version of Emacs and use the customization files (*.el) provided with OCaml's source archive to turn Emacs in a powerful, if idiosyncratic, toplevel.

You'll find the instructions in ocaml-3.11.1/emacs/README. Specifically:

Once you have started caml by M-x run-caml:

M-C-x send phrase to inferior caml process C-c C-r send region to inferior caml process C-c C-s show inferior caml process C-c` goto error in expression sent by M-C-x

Pascal Cuoq
  • 79,187
  • 7
  • 161
  • 281
1

I used ocaml from cmd. Editing with history is there..

Can you elaborate on ocamlwinplus crashes? Did you try to debug it?

ygrek
  • 6,656
  • 22
  • 29
  • it seems to crash randomly. It will crash when I paste something in, or when I hit "submit". Then, I'll do the exact same thing, and it'll be fine. – Nick Heiner Sep 17 '09 at 01:07
  • launch it under windbg and save the dump whet it crashes, then put it on the web somewhere - these are the real steps that can help to locate the issue (I see an old bug for ocamlwinplus on mantis and no one managed to track it down..) – ygrek Sep 18 '09 at 20:17
1

I use Notepad++ to write code then I compile it from cmd, simply there is no simple way to do it with OCAML!

0xFF
  • 4,140
  • 7
  • 41
  • 58