This package, developed for Brown CS17, provides an OCaml REPL pane in Atom. It is forked from https://github.com/rndAdn/REPL-Nodejs so that OCaml specific features can be supported.
- Error highlighting
- Evaluation with fresh environment
- Automatic CWD change
- History glitches fixed
- Prompt glitches fixed
apm install ocaml-repl
or
Search for ocaml-repl
within package search in the Settings View.
You can set the path to your executable in the package settings.
ctrl-y ctrl-o
Launch an OCaml REPL in a fresh environmentctrl-y ctrl-f
Run the file in a fresh environment