Hey,
I've only made a puny javascript thing, but it is possible to have a "normal" repl. I've been approached by the author of "eclweb" - this person used xterm magic to make it more compelling:
https://opensource.chee.party/chee/eclweb
There's also an online repl:
I'm not offiliated with them, so I don't know how long the online version will persist.
Best regards, Daniel
-- Daniel Kochmański ;; aka jackdaniel | Przemyśl, Poland TurtleWare - Daniel Kochmański | www.turtleware.eu
"Be the change that you wish to see in the world." - Mahatma Gandhi
On Saturday, December 30th, 2023 at 14:39, Jón Hallur Haraldsson jonhallur@gmail.com wrote:
Hi,
I've been toying around with the idea to run ecl in the browser since it is now easy to build it using emscripten.
I have successfully interacted with the runtime using the extremely awkward "window.prompt" native javascript pop up.
My experience in using ECL is in embedding it in C/C++
Has someone successfully used it to run in the browser without using the "wasm-draw-to-canvas" and "windows.prompt" REPL
I'm assuming that this has nothing to do with ECL and is purely how emscripten works.
Can I write a more embedded version which does not require me to interact through the REPL in the browser.
If anyone has done any similar things I'd really like to hear about them.
Kindest regards.
Jon Hallur