dotgnu-visionaries
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Visionaries] The DG-Scheme Foreign Language Interface


From: Peter Minten
Subject: Re: [Visionaries] The DG-Scheme Foreign Language Interface
Date: Sun, 17 Aug 2003 19:14:10 +0200
User-agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.4) Gecko/20030529

Peter Minten wrote:

The FLI wrapper is a separate process and writen in an appropriate language for calling the foreign lib. The FLI wrapper loads the foreign lib. When the DGS interpreter, at the command of the DGS code, send a function call the FLI wrapper reads it and calls the right function. Then the FLI wrapper sends back the result.

Change, in order to close some holes in the DG-Scheme copyleft the FLI wrapper
will now not use a pipe to communicate with the interpreter but will expose a
simple C interface (about 1 function). This doesn't change the rest of the
system very much, but it has a huge impact on the licensing. Specifically this
makes the GPL+LE of the baselib much harder to circumvent.

Oh, and to cure a little kludge. It's allowed for an interpreter to directly call code in it's own language, provided this looks like FLI'ing. This doesn't remove the need for FLI modules for those languages however.

Greetings,

Peter






reply via email to

[Prev in Thread] Current Thread [Next in Thread]