Keno / julia-wasm

Running julia on wasm
https://keno.github.io/julia-wasm/website/repl.htm
331 stars 23 forks source link

Better REPL #4

Open Keno opened 5 years ago

Keno commented 5 years ago

Now that the julia-wasm implementation is minimally functional, it would be nice to have a better REPL, ideally re-using most of REPL.jl but with js-specific implementations where necessary.

SimonDanisch commented 5 years ago

Can you give some examples what would need to be js specific? The whole tty stuff? Or shouldn't that be abstracted away?

Keno commented 5 years ago

Since we don't support tasking yet, the overall REPL loop will need to be written in JS (since we can't suspend julia execution to ask for input). That's probably the biggest difference. What to do about the output is also a question. I suspect it makes sense to hook up a VT100 browser terminal emulator and emulate a TTY for now, but we may be more adventurous in the future.

Keno commented 5 years ago

Something specific to look into would be to hook it up to iodide: https://github.com/iodide-project/iodide. They already have a python-wasm version, so this might be fairly easy.

titus-pinta commented 4 years ago

I am interested in healping, if help is still needed. Could you point me please to a starting point? Sorry if this question is not well phrased, I am new to contributing to Julia.