[plt-scheme] Loading compiled extension modules with R6RS (import)

From: Jonathan Bastien-Filiatrault (joe at x2a.org)
Date: Wed Feb 3 18:35:14 EST 2010

Ryan Culpepper wrote:
> 
> On Feb 2, 2010, at 10:58 PM, Jonathan Bastien-Filiatrault wrote:
> 
>> Hi,
>>
>> I have made a MzScheme to LLVM wrapper using the C API. I can load and 
>> use the module fine using the non-standard (require) form. However, I 
>> cannot manage to load my extension in R6RS mode.
>>
> 
> Just a thought, but what if you make a Scheme wrapper module:
> 
>   #lang scheme/base
>   (require <your-extension>)
>   (provide (all-from-out <your-extension>))
> 
> and then try importing that file as an R6RS library?
> 
> Ryan
> 

Thanks, it took a bit of fiddling to get it right, but it worked !

Cheers !
Jonathan


Posted on the users mailing list.