<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 19 juil. 2019 à 13:38, Marc Feeley <<a href="mailto:feeley@iro.umontreal.ca">feeley@iro.umontreal.ca</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You should look at this recent thread: <a href="https://mailman.iro.umontreal.ca/pipermail/gambit-list/2019-July/009103.html" rel="noreferrer" target="_blank">https://mailman.iro.umontreal.ca/pipermail/gambit-list/2019-July/009103.html</a><br>
<br>
Marc<br>
<br>
<br>
<br>
> On Jul 19, 2019, at 6:43 AM, Paulo Silva Filho <<a href="mailto:paulosfilho@gmail.com" target="_blank">paulosfilho@gmail.com</a>> wrote:<br>
> <br>
> Sires,<br>
> <br>
> I've been looking for a Scheme->Javascript compiler, and I've made small tests on Gambit-C, based on these links:<br>
> <br>
> <a href="https://mailman.iro.umontreal.ca/pipermail/gambit-list/2015-January/007723.html" rel="noreferrer" target="_blank">https://mailman.iro.umontreal.ca/pipermail/gambit-list/2015-January/007723.html</a><br>
> <br>
> <a href="https://gambit-list.iro.umontreal.narkive.com/JUxGilJn/javascript-backend" rel="noreferrer" target="_blank">https://gambit-list.iro.umontreal.narkive.com/JUxGilJn/javascript-backend</a><br>
> <br>
> The only thing I'm looking for is how to communicate from Javascript functions to Scheme functions and vice-versa.<br>
> <br>
> Unfortunately, I didn't make it work, based on the links above.<br>
> <br>
> I tried to use the the ##inline-host-expression and ##inline-host-statement as shown in the links above, but the compiled code didn't find these functions (or macros, I don't know exacly these calls are implemented).<br>
> <br>
> I tried the Javascript backend on Windows, using Gambit v4.6.6, and it compiled the sample code and has executed it. On Linux, I didn't made it get executed.<br>
> <br>
> Since the JS Backend is not documented, I don't know how to proceed, and to find any information using Google has been very difficult.<br>
> <br>
> Is there some more up to date information about how to build a simple Javascript program, with javascript code interaction somewhere? Or can you provide me some instructions?<br>
> <br>
> Thank you in advance.<br>
> <br>
> -- <br>
> Paulo Silva Filho</blockquote><div><br></div><div>This definitely looks very neat.</div><div><br></div><div><br></div><div>Thanks for sharing!<br></div></div></div>