On Tuesday, July 23, 2019 at 8:52:36 PM UTC-4, Matthew Flatt wrote:
>
> 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. 
>

Thanks. I just realized I wasn't very clear. 

I was primarily referring to user defined functions. For example, if I 
wrote a Chez Scheme library, how would I use that from w/in some Racket 
code I wrote?

-- 
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/68ae09e0-7f39-41cd-9c44-77d222b560c0%40googlegroups.com.

Reply via email to