<div dir="ltr"><div>Sires,</div><div><br></div><div>I've been looking for a Scheme->Javascript compiler, and I've made small tests on Gambit-C, based on these links:</div><div><br></div><div>
<a rel="nofollow" target="_blank" href="https://mailman.iro.umontreal.ca/pipermail/gambit-list/2015-January/007723.html">https://mailman.iro.umontreal.ca/pipermail/gambit-list/2015-January/007723.html</a><br><br><a rel="nofollow" target="_blank" href="https://gambit-list.iro.umontreal.narkive.com/JUxGilJn/javascript-backend">https://gambit-list.iro.umontreal.narkive.com/JUxGilJn/javascript-backend</a>
</div><div><br></div><div>The only thing I'm looking for is how to communicate from Javascript functions to Scheme functions and vice-versa.</div><div><br></div><div>Unfortunately, I didn't make it work, based on the links above.</div><div><br></div><div>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).</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>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?</div><div><br></div><div>Thank you in advance.</div><div><br></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Paulo Silva Filho<div><br></div></div></div></div></div>