[plt-scheme] Re: stand-alone app

From: Ryan Culpepper (ryan_sml at yahoo.com)
Date: Wed Sep 25 20:51:33 EDT 2002

--- Jefferson Provost <jp at cs.utexas.edu> wrote:
> Matthew Flatt wrote:
> > ... [long exchange deleted]
> > The underlying problem, I think, is that extensions aren't tied
> > into the module system well enough. In particular, 
> > `make-embedding-executable' should be able to embed extensions 
> > as well as bytecodes. I think I see a way to make it work, but 
> > getting it right will take time.
> 
> It would be nice to be able to include an extension as a module,
> but for now, the solution above will work.  Our program is probably
> going to have a large app directory full of associated scripts and 
> things, so it's not a problem to have to load a "core extension" 
> ... oxymoron though it may be. ;-)

Does the cffi module (lib "cffi.ss" "compiler") not do what you want?
For some of the native code I need to use, I just create wrappers
using c-lambda (and include the headers using c-declare). Linking
this against shared libraries is more complicated, but should be
doable.

Ryan


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


Posted on the users mailing list.