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

Marc Feeley feeley at iro.umontreal.ca
Tue Feb 10 12:16:19 EST 2015


> 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

I’m not sure what version of Gambit and univ-lib you are using, but there was a change in the naming convention in the generated code.  Initially “Gambit_” was used to prefix all generated names, but this did not work out well for languages where an initial capital letter is used for classes.  So in more recent version of Gambit, “gambit_” is used for global variables and functions, and “Gambit_” is used for classes.

So you should call gambit_js2scm(…) instead of Gambit_js2scm(…).

Marc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4839 bytes
Desc: not available
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20150210/b64d76ed/attachment.bin>


More information about the Gambit-list mailing list