Good news everyone! You no longer need to rewrite Emacs from scratch to be able to hack it in OCaml.
You can now use Ecaml, a library for writing Emacs plugin in OCaml:
https://github.com/janestreet/ecamlIt is using the new Emacs 25 support for loading dynamic modules
.
We successfully used it to run Async code as well as expectation tests inside Emacs.
Y
ou can install
Ecaml
using our development opam repository:
opam
--
Jeremie
Dimino, for the Core team