At Tue, 23 Jul 2019 17:14:56 -0700 (PDT), Brian Adkins wrote: > With the Racket on Chez Scheme implementation, how interoperable are Racket > and Chez? Is it possible for Racket functions to call Chez functions (or > vice versa) directly w/o using a FFI? If so, can you point me to some > documentation? If not, how difficult would it be to make this happen?
Chez Scheme functions work as Racket functions. A Racket function works as a Chez Scheme function unless it accepts keyword arguments, is an impersonator, or is an instance of a structure type that implemented `prop:procedure`. The easiest way to get a Chez Scheme primitive is to use the `get-primitive` function from Sam's `get-primitive` package: https://github.com/samth/get-primitive Racket pairs, symbols, etc., are Chez Scheme pairs, symbols, etc., so you can get Chez Scheme's `eval` and easily start evaluating Chez Scheme expressions. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/5d37abd2.1c69fb81.3c40d.2941SMTPIN_ADDED_MISSING%40gmr-mx.google.com.