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@iro.umontreal.ca>:
..
    (define foo (lambda () (##inline-host-expression "42")))))