learn-ocaml
learn-ocaml copied to clipboard
RFE : a tuareg-like environment
I am just discovering learn-ocaml and even without the exercise-and-test feature, I fond it gives a relatively good and simple code editor and REPL for OCaml. However one has to be in exercise mode for this, as the "toplevel" feature is, understandably, a simple toplevel.
So I suggest the following :
- create a "free range" code editor and REPL interface (in fact, a pseudo-exercise without any objective would suffice) ;
- upgrade it with the ability to send to OCaml REPL only a portion of the code (like tuareg's
C-c C-e
), using;;
for delimiters (to avoid complex parsing to determine the enclosing phrase under the text cursor) ; - add the possibility to upload a .ml file into the editor.