Hi Fernan,

2008/11/15 Fernan Bolando <[EMAIL PROTECTED]>:
> 1. Generate small C programs and call them via system() inside the
> scheme interpreter.
>
> 2. Add custom code into the scheme interpreter and link in the lib
> 3. Develop some sort of foreign function interface

What about a 9P interface? Here is a scheme implementation:

http://www.ohloh.net/projects/chicken-9p

> If you guys have an example of implementing some sort of suckless
> approach to foreign function that would be cool.

The advantage is, 9P can be used in an universal way, network
transparently and without any platform/language boundaries. The only
tricky part is defining a sane synthetic fs for abstracting the RPCs
you are looking for. However, there are non-Plan9ish examples in the
procfs (might not be the best reference though).

Kind regards,
--Anselm

Reply via email to