For the Neovim-specific use case, you may want to take a look at vcaml, which lets you write OCaml programs that interact with Neovim over msgpack RPC. Do note though that while the library as-is should provide you with the functionality you need, it is under active development so the API may change (improve) in significant ways between releases.
ddickstein
10
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| What is the current state of OCaml-ish in the browser? | 22 | 2811 | February 4, 2023 | |
| [ANN] Halfway-usable Lua-ML | 8 | 1548 | September 28, 2025 | |
| Community help/advices need for ocaml-lua | 5 | 954 | August 21, 2019 | |
| Compiling subset of OCaml to GoLang / Julia? | 14 | 1493 | February 24, 2023 | |
| A short history of ReScript (BuckleScript) | 64 | 13617 | October 7, 2021 |