[gambit-list] Problem building univ-lib for JS

Blake McBride blake at mcbride.name
Thu Feb 5 18:51:13 EST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20150205/5668aae7/attachment.htm>


More information about the Gambit-list mailing list