guile-user
[Top][All Lists]
Advanced

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

Re: Using in C a function defined in guile


From: Vladimir Zhbanov
Subject: Re: Using in C a function defined in guile
Date: Sun, 6 Sep 2015 22:39:31 +0300
User-agent: Mutt/1.5.23 (2014-03-12)

On Sun, Sep 06, 2015 at 06:21:35PM +0200, Arne Babenhauserheide wrote:
> Hi Vadimir,
> 
> Am Sonntag, 6. September 2015, 17:10:01 schrieb Vladimir Zhbanov:
> > After speaking with a man who doesn't like scheme and wants to make all
> > his work in C, I wonder if there is an easy way to make the procedures
> > wholly written in Guile available in C, besides any kind of 'eval'.
> > Looking through the guile info I didn't found anything other.
> 
> The manual shows how to call Guile functions from your program:
> http://www.gnu.org/software/guile/manual/guile.html#Guile-Initialization-Functions
> 
> The sample however embeds a full Guile shell:
> http://www.gnu.org/software/guile/manual/guile.html#A-Sample-Guile-Main-Program
> 
> If I recall correctly, if you only want to provide the Scheme
> functions, stick to scm_init_guile and scm_with_guile.
> 
> See Initializing Guile from the API reference:
> http://www.gnu.org/software/guile/manual/guile.html#Initialization

Thank you, Arne.

I've already read all the sections you're referring to here.

Cheers,
  Vladimir



reply via email to

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