jupyterlite / javascript-kernel

A simple JavaScript kernel for JupyterLite, running in a Web Worker
https://jupyterlite.github.io/javascript-kernel/
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

maybe add advanced features from xeus-javascript #3

Open DerThorsten opened 7 months ago

DerThorsten commented 7 months ago

All nice features of xeus javascript are mostly implemented on the javascript side, not on the C++ side. Ie here.

It would be easy to import this file via jsdelivr, ie here and use this also in this javascript-kernel.
This way we might have all the nice features almost for free.

It would still need some changes to in https://github.com/jupyter-xeus/xeus-javascript/blob/main/src/post.js, but should not be overcomplicated.

On the one hand this would make this kernel actual usable, on the other hand not sure if its worth it

jtpio commented 7 months ago

Thanks @DerThorsten.

I guess we can. For now the main motivation for moving this javascript-kernel to its own repo was to help simplify the main jupyterlite repo so it can be removed from there: https://github.com/jupyterlite/jupyterlite/pull/1313

But still keep a "copy" of the source if someone is interested, before eventually archive it if xeus-javascript should be the place to continue more active development for a JavaScript kernel.

But yeah if the changes are simple it could be interesting to do it, if someone wants to give it a try.

westurner commented 5 months ago
westurner commented 5 months ago