Ocaml notebooks in web browser

Hello everyone !

I’m currently learning Ocaml, and found no better way to learn than working on a project :

I’m happy to announce xeus-ocaml, a new kernel to run Ocaml from Jupyterlite notebooks :partying_face:

I’m far from a professional developer, and very new to Ocaml, so do not hesitate to try it with your workflow, report any new issues, ask for other external libraries (currently only stdlib and ocamlgraph), or contribute to its development to make the code more robust and idiomatic.

Any feedback would be appreciated!

11 Likes

Woow ! An excellent contribution, and I guess you are “beginning” the hard way !

Thanks, that was indeed technical! The trickiest bit was getting js_of_ocaml and Merlin to play nicely together (sharing the CMI/CMT/CMTI files) and communication with Xeus Emscripten, especially for file system support. Anyway, that sorted, I have to get back to the hard stuff: algorithms theory and correctness proofs…

2 Likes