[gambit-list] Problem building univ-lib for JS
Francois Magnan
magnan at categoricaldesign.com
Tue Feb 10 10:55:40 EST 2015
grep -r "gambit_js2scm*" .
./gsc/_t-univ.scm:function gambit_js2scm(obj) {
Hope this helps… don’t have more time for the moment…
Francois
> On Feb 10, 2015, at 10:30 AM, Blake McBride <blake at mcbride.name> wrote:
>
> Would really appreciate some help with this. I'd really like to document and use the system but I am stuck.
>
> Thanks.
>
> Blake
>
>
> On Thu, Feb 5, 2015 at 5:51 PM, Blake McBride <blake at mcbride.name <mailto:blake at mcbride.name>> wrote:
> Greetings,
>
> I built the latest Gambit and pulled univ-lib. The makefile in univ-lib first compiles ap.scm to app.js. It then tries to run ap.js with d8. Two things:
>
> 1. Could we use node instead of d8?
>
> 2. When I run it with node I get:
>
> /home/gambit.git/univ-lib/app.js:533
> gambit_r1 = Gambit_js2scm(jsfn);
> ^
> ReferenceError: Gambit_js2scm is not defined
> at gambit_bb1__20_app (/home/blake/z/gambit.git/univ-lib/app.js:533:15)
> at gambit_trampoline (/home/blake/z/gambit.git/univ-lib/app.js:333:10)
> at Object.<anonymous> (/home/blake/z/gambit.git/univ-lib/app.js:778:1)
> at Module._compile (module.js:456:26)
> at Object.Module._extensions..js (module.js:474:10)
> at Module.load (module.js:356:32)
> at Function.Module._load (module.js:312:12)
> at Function.Module.runMain (module.js:497:10)
> at startup (node.js:119:16)
> at node.js:929:3
>
>
> I can't find any definition for Gambit_js2scm(). Not sure what to do.
>
> Thanks.
>
> Blake McBride
>
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20150210/1abfd6dd/attachment.htm>
More information about the Gambit-list
mailing list