<div dir="ltr">Is there any documentation on compiling to javascript, or is it mostly in the mailing list archives? After some scrounging, I was finally able to figure out how to compile and get a simple (println (fib 5)) working:<div><br></div><div><div>$ cd gambit/lib</div><div>$ gsc -:~~bin=../bin,~~lib=../lib,~~include=../include -f -target js -prelude "(##include \"header.scm\")" -o _gambit.js ../lib/_univlib.scm</div><div><br></div><div>$ gsc -warnings -target js code.scm</div><div>$ gsc -warnings -link -l _gambit.js code.js</div><div>$ cat code_.js _gambit.js code.js > p.js</div><div>$ node p.js</div></div><div><br></div><div>1) Is that mostly correct? I take it it is still a WIP because I couldn't find documentation.</div><div><br></div><div>2) What if I want to use the Python backend? I tried swapping in all of the targets with -target python but then get this error:</div><div><div>$ python2 p.py</div><div>Traceback (most recent call last):</div><div>  File "p.py", line 26310, in <module></div><div>    <a href="http://g_bb1_serial_2d_number_2d__3e_object.name">g_bb1_serial_2d_number_2d__3e_object.name</a> = g_cst1727___gambit</div><div>NameError: global name 'g_cst1727___gambit' is not defined</div></div><div><br></div><div>3) Is there a concise example of #inline-host-expression (-statement & -declaration) to be able to have scheme call javascript and vice versa? Same with python? I'm not sure what is correct from my reading of the mailing archive.</div><div><br></div><div>Thanks,</div><div>-Jon</div><div><br></div></div>