←back to thread

356 points california-og | 3 comments | | HN request time: 0.212s | source
1. librasteve ◴[] No.42172396[source]
This is awesome - I have been toying with building something like this so that i can host (raku) code examples and do literate programming. FWIW there IS a good raku plugin for Jupyter Chatbooks (https://raku.land/zef:antononcube/Jupyter::Chatbook), but it just seems kinda wrong for raku to need python to do this.

Can this example be widened to use server side code (I am not too bothered about syntax highlighting as maybe can make a font for that) - but it would be great to have some kind of message layer (like zmq in Jupyter) to connect to a remote language kernel perhaps using web sockets???

Raku does not (yet) target wasm so that option is out.

replies(2): >>42172460 #>>42178170 #
2. antononcube ◴[] No.42172460[source]
Thanks for mentioning "Jupyter::Chatbook"!

There is also "RakuMode" for Mathematica: https://resources.wolframcloud.com/PacletRepository/resource...

3. mbo ◴[] No.42178170[source]
> Can this example be widened to use server side code?

Author: Nothing stopping you from forcing a Jupyter notebook to self-host itself: https://hello-notebook-http-mode.fly.dev/ . Then you can just use HTTP to send messages back and forth between the browser and the notebook.