[gambit-list] -target js

Marc Feeley feeley at iro.umontreal.ca
Thu Nov 14 13:02:31 EST 2013


On Nov 13, 2013, at 11:08 PM, Francois Magnan <magnan at categoricaldesign.com> wrote:

> Hi Marc,
> 
> Yes it works much better. Now I just need to implement some library functions in javascript.
> For example I get:
> 
> TypeError: ‘undefined’ is not a function (evaluating 'Gambit_glo['with-output-to-string']()')
> 
> I will tweak my Scheme code to avoid those abstractions for the moment.
> 
> Thank you,
> Francois

Very well.  By the way, I have made a few changes this morning that may make things easier for handling strings, characters and symbols.  If all you need is something to convert Scheme data to a string in order to display it, then use the object->string function defined in the attached file.  It also includes a pretty-printer.

Marc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: obj2str.scm
Type: application/octet-stream
Size: 11719 bytes
Desc: not available
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20131114/d2098b09/attachment.obj>


More information about the Gambit-list mailing list