I like Try Ocaml top level behavior: ;; added implicitly when I click Enter and I can use it Shift-Enter for multi-line editing.
;;
Enter
Shift-Enter
Is it possible to get the same function in the standard top or utop ?
utop
Currently no. You can imagine how to implement this feature as a patch on top of (no pun intended ) utop .