[gambit-list] Javascript Backend
Mikael
mikael.rcv at gmail.com
Fri May 16 09:29:31 EDT 2014
Dear Marc,
Did ##inline-host-expression (and ##inline-host-statement) change name
recently?
On 4.7.2 it compiles to an ordinary procedure call.
Test case: (define js (##inline-host-expression "myprocedure(myargument)"))
compiles to: .... return Gambit_glo['##inline-host-expression']();
This is even while grep -r inline-host-expression gambit/* gives:
./gambit/gsc/_t-univ.scm:(univ-prim-proc-add! '("##inline-host-expression"
(1) #t 0 0 (#f) extended))
./gambit/gsc/_t-univ.scm:(univ-define-prim "##inline-host-expression" #f
./gambit/gsc/_t-univ.scm: (compiler-internal-error
"##inline-host-expression requires a constant string argument"))))
so it seems to be there somehow.
Thanks and best regards,
Mikael
2014-03-06 8:22 GMT+01:00 Marc Feeley <feeley at iro.umontreal.ca>:
..
> (define foo (lambda () (##inline-host-expression "42")))))
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20140516/dbab4d78/attachment.htm>
More information about the Gambit-list
mailing list