[gambit-list] How to handle and access and interact with object members host code

ben yakawp ben.lists at yakawp.com
Mon Dec 7 08:31:51 EST 2015


hi
Sorry if this too obvious, but I don't understand how gambit handles
objects from the hosts backend.


For example: if one would like to construct a 'Node' library for the JS
backend, how would you do that? The whole node api seems to be object
oriented.  But also the Python standard libaries (batteries) are layed
out class based. You had to do something like

(define o (new Lib))
(o.print "hello")

This looks wrong. What am I missing?

Regards
ben


More information about the Gambit-list mailing list