WASM / Web Assembly ecl in a browser

Jón Hallur Haraldsson <[email protected]> Sat, 30 Dec 2023 13:39:44 +0000
Newsgroups gmane.lisp.ecl.general
Message-ID <CAAf17QnVcSSnXKp065yFuojL6NAGwSvnNPkkzkb0eJ7zV-Uisg@mail.gmail.com>
--000000000000a951ee060dba48cf
Content-Type: text/plain; charset="UTF-8"

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

--000000000000a951ee060dba48cf
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>I&#39;ve been toying around with th=
e idea to run ecl in the browser since it is now easy to build it using ems=
cripten.</div><div><br></div><div>I have=C2=A0successfully interacted with =
the runtime using the extremely awkward &quot;window.prompt&quot; native ja=
vascript pop up.</div><div><br></div><div>My experience in using ECL is in =
embedding it in C/C++</div><div><br></div><div>Has someone successfully use=
d it to run in the browser without using the &quot;wasm-draw-to-canvas&quot=
; and &quot;windows.prompt&quot; REPL</div><div><br></div><div>I&#39;m assu=
ming that this has nothing to do with ECL and is purely how emscripten work=
s.</div><div><br></div><div>Can I write a more embedded version which does =
not require me to interact through the REPL in the browser.<br><br>If anyon=
e has done any similar things I&#39;d really like to hear about them.</div>=
<div><br></div><div>Kindest regards.<br><br>Jon Hallur</div></div>

--000000000000a951ee060dba48cf--