Re: WASM / Web Assembly ecl in a browser

Jón Hallur Haraldsson <[email protected]> Sat, 30 Dec 2023 14:08:05 +0000
Newsgroups gmane.lisp.ecl.general
Message-ID <CAAf17QmcowkMY5mx3A_0vNGTeoSLb367sHgFXvuBGSJqnUxhiQ@mail.gmail.com>
--00000000000017d1ad060dbaae68
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Awesome, thanks for the info!

On Sat, 30 Dec 2023 at 13:50, Daniel Kochma=C5=84ski <[email protected]>
wrote:

> 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 pers=
on
> used xterm magic to make it more compelling:
>
> https://opensource.chee.party/chee/eclweb
>
> There's also an online repl:
>
> https://repl.chee.party/
>
> I'm not offiliated with them, so I don't know how long the online version
> will persist.
>
> Best regards,
> Daniel
>
> --
> Daniel Kochma=C5=84ski ;; aka jackdaniel | Przemy=C5=9Bl, Poland
> TurtleWare - Daniel Kochma=C5=84ski      | 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=C3=B3n Hallur Haraldsson <
> [email protected]> 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
>
>
>

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

<div dir=3D"ltr">Awesome, thanks for the info!=C2=A0<br></div><br><div clas=
s=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, 30 Dec 2023=
 at 13:50, Daniel Kochma=C5=84ski &lt;<a href=3D"mailto:[email protected]=
u">[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex"><div style=3D"font-family:Arial,sans-serif;font-size=
:14px">Hey,</div><div style=3D"font-family:Arial,sans-serif;font-size:14px"=
><br></div><div style=3D"font-family:Arial,sans-serif;font-size:14px">I&#39=
;ve only made a puny javascript thing, but it is possible to have a &quot;n=
ormal&quot; repl. I&#39;ve been approached by the author of &quot;eclweb&qu=
ot; - this person used xterm magic to make it more compelling:<br></div><di=
v style=3D"font-family:Arial,sans-serif;font-size:14px"><br></div><div styl=
e=3D"font-family:Arial,sans-serif;font-size:14px"><span><a rel=3D"noreferre=
r nofollow noopener" href=3D"https://opensource.chee.party/chee/eclweb" tar=
get=3D"_blank">https://opensource.chee.party/chee/eclweb</a><br></span></di=
v><div style=3D"font-family:Arial,sans-serif;font-size:14px"><span><br></sp=
an></div><div style=3D"font-family:Arial,sans-serif;font-size:14px"><span>T=
here&#39;s also an online repl:</span></div><div style=3D"font-family:Arial=
,sans-serif;font-size:14px"><span><br></span></div><div style=3D"font-famil=
y:Arial,sans-serif;font-size:14px"><span><span><a rel=3D"noreferrer nofollo=
w noopener" href=3D"https://repl.chee.party/" target=3D"_blank">https://rep=
l.chee.party/</a></span><br></span></div><div style=3D"font-family:Arial,sa=
ns-serif;font-size:14px"><span><br></span></div><div style=3D"font-family:A=
rial,sans-serif;font-size:14px"><span>I&#39;m not offiliated with them, so =
I don&#39;t know how long the online version will persist.</span></div><div=
 style=3D"font-family:Arial,sans-serif;font-size:14px"><span><br></span></d=
iv><div style=3D"font-family:Arial,sans-serif;font-size:14px"><span>Best re=
gards,</span></div><div style=3D"font-family:Arial,sans-serif;font-size:14p=
x"><span>Daniel<br></span></div><div style=3D"font-family:Arial,sans-serif;=
font-size:14px"><br></div>
<div style=3D"font-family:Arial,sans-serif;font-size:14px">
    <div>
        <div>--<br></div><div>Daniel Kochma=C5=84ski ;; aka jackdaniel | Pr=
zemy=C5=9Bl, Poland<br></div><div>TurtleWare - Daniel Kochma=C5=84ski=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 | <a href=3D"http://www.turtleware.eu" rel=3D"noop=
ener noreferrer" target=3D"_blank">www.turtleware.eu</a><br></div><div><br>=
</div><div>&quot;Be the change that you wish to see in the world.&quot; - M=
ahatma Gandhi<br></div><div><br></div>
    </div>
   =20
            <div>
       =20
            </div>
</div>
<div style=3D"font-family:Arial,sans-serif;font-size:14px"><br></div><div>
        On Saturday, December 30th, 2023 at 14:39, J=C3=B3n Hallur Haraldss=
on &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">jonhallur@g=
mail.com</a>&gt; wrote:<br><br>
        <blockquote type=3D"cite">
            <div dir=3D"ltr">Hi,<div><br></div><div>I&#39;ve been toying ar=
ound with the idea to run ecl in the browser since it is now easy to build =
it using emscripten.</div><div><br></div><div>I have successfully interacte=
d with the runtime using the extremely awkward &quot;window.prompt&quot; na=
tive javascript 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 successfu=
lly used it to run in the browser without using the &quot;wasm-draw-to-canv=
as&quot; and &quot;windows.prompt&quot; REPL</div><div><br></div><div>I&#39=
;m assuming that this has nothing to do with ECL and is purely how emscript=
en works.</div><div><br></div><div>Can I write a more embedded version whic=
h does not require me to interact through the REPL in the browser.<br><br>I=
f anyone 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>

        </blockquote><br>
    </div></blockquote></div>

--00000000000017d1ad060dbaae68--