xeus icon indicating copy to clipboard operation
xeus copied to clipboard

Any plan for xeus-ocaml ?

Open davy39 opened this issue 9 months ago • 7 comments

Hi,

Does someone have a plan to implement a xeus-ocaml kernel ?

A such kernel has been implemented in Basthon (demo and code), so I'm wondering how to integrate it into jupyterlite ?

Thanks for your help.

davy39 avatar Mar 07 '25 16:03 davy39

We just noticed your work on xeus-ocaml. This is amazing!

We would love to be in touch if there is an interest on your end.

SylvainCorlay avatar Sep 25 '25 12:09 SylvainCorlay

Of course. It is still very basic, and I need to clean my code and will follow new developments from xeus-javascript to make it a main module.

When I'll be done, maybe next step will be to make a PR at emscripten recipe ?

Edit : Thanks to DerThorsten work on xeus-javascript, it is now working well (i think...) with last jupyterlite-xeus.

davy39 avatar Sep 25 '25 13:09 davy39

Edit : Thanks to DerThorsten work on xeus-javascript, it is now working well (i think...) with last jupyterlite-xeus.

Excellent!

SylvainCorlay avatar Sep 25 '25 20:09 SylvainCorlay

I may have reached a beta version here. It still need to be extensively tested, so I made a announcement in both jupyter and ocaml discourse. I would be glad if you guys could have a look at the code, at least the cpp one, to see if it follows Xeus standards.

Do you think I could push the recipe on Emscipten forge, or does it need more testing before that point ?

davy39 avatar Oct 15 '25 07:10 davy39

I think you can already push the recipe on Emscripten forge since it is working with latest jupyterlite-xeus. This will make it easier for people to test it and report issues.

I would be glad if you guys could have a look at the code, at least the cpp one, to see if it follows Xeus standards.

The implementation is really neat! There are some minor details we could discuss, but that's on the fringes. I'll try to open a PR in the next days.

Do you plan to implement a "regular" (i.e. not WASM) kernel too?

JohanMabille avatar Oct 15 '25 07:10 JohanMabille

Do you plan to implement a "regular" (i.e. not WASM) kernel too?

Not really, I shouldn't have spent so much time on the wasm one in the first place... There already is ocaml-jupyter kernel for native support.

I'm gonna clean up my recipe and make a PR to emscipten forge then.

davy39 avatar Oct 15 '25 07:10 davy39

Do you plan to implement a "regular" (i.e. not WASM) kernel too?

Not really, I shouldn't have spent so much time on the wasm one in the first place... There already is ocaml-jupyter kernel for native support.

I'm gonna clean up my recipe and make a PR to emscipten forge then.

Awesome! I think this could be the subject of a post on the Jupyter blog.

SylvainCorlay avatar Oct 15 '25 08:10 SylvainCorlay

xeus-ocaml is out 🎉 https://github.com/davy39/xeus-ocaml

IsabelParedes avatar Dec 18 '25 11:12 IsabelParedes