From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vladimir Zhbanov Newsgroups: gmane.lisp.guile.user Subject: Re: Using in C a function defined in guile Date: Sun, 6 Sep 2015 21:52:18 +0300 Message-ID: <20150906185218.GA18573@localhost.localdomain> References: <20150906141001.GA23312@localhost.localdomain> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1441565571 26664 80.91.229.3 (6 Sep 2015 18:52:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Sep 2015 18:52:51 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Sep 06 20:52:33 2015 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZYf3J-0004ul-4Z for guile-user@m.gmane.org; Sun, 06 Sep 2015 20:52:33 +0200 Original-Received: from localhost ([::1]:50110 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYf3J-0008VO-2h for guile-user@m.gmane.org; Sun, 06 Sep 2015 14:52:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYf3A-0008VA-Kx for guile-user@gnu.org; Sun, 06 Sep 2015 14:52:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYf37-00039A-GY for guile-user@gnu.org; Sun, 06 Sep 2015 14:52:24 -0400 Original-Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:34200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYf37-00038x-8J for guile-user@gnu.org; Sun, 06 Sep 2015 14:52:21 -0400 Original-Received: by laeb10 with SMTP id b10so40797427lae.1 for ; Sun, 06 Sep 2015 11:52:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=Yv8UIpvM3JdS6kh0SOhw0f4G43cH35hjrDEGTdxAjPQ=; b=whlVhBJB1pLxZOsSZkaSRB85r8IvTSjZ7FVUE3n3gRkXnrfun7Ff1lzTx4La52IFJZ xhHLXDEJXSPzjLyAmS/ibfm+WXvWf08d1nzk58bMqIdBOrWzcYjMcg9rSUXAj4QM23Jx 2JW5GSqOmtY+yelTEOwFWGr11oKwV5b8UQMU4okdZA64baClcHkPqglqgU1648q3CuVC fXz4julnbjc/TPz7EDf/ovyLPyNt4yNVGhcyulKcBGHOFWSn3hQw803/OiRkPcZtw8A/ yHq1xC4xLcDhMgbj4bLyIyMBTYJn+Z+vNCIoj2jeIK/1SUii7giwTFR71oNwA2QL7FAD iA6g== X-Received: by 10.152.21.37 with SMTP id s5mr10376315lae.118.1441565540345; Sun, 06 Sep 2015 11:52:20 -0700 (PDT) Original-Received: from newvzh.vzh ([95.179.53.184]) by smtp.gmail.com with ESMTPSA id tv6sm2408921lbb.31.2015.09.06.11.52.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Sep 2015 11:52:20 -0700 (PDT) Original-Received: from vovka by newvzh.vzh with local (Exim 4.85) (envelope-from ) id 1ZYf34-0005Wi-PS for guile-user@gnu.org; Sun, 06 Sep 2015 21:52:18 +0300 Mail-Followup-To: guile-user@gnu.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22c X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11999 Archived-At: On Sun, Sep 06, 2015 at 05:23:38PM +0200, Panicz Maciej Godek wrote: > 2015-09-06 16:10 GMT+02:00 Vladimir Zhbanov : > > > Hi, guilers. > > > > 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 > > > This is because this is contrary to the intended use of Guile (which > focuses on having C procedures available in Scheme rather than other way > around). > > I think that you may take a look at something that compiles Scheme code to > C, like Gambit, Chicken, Scheme->C or Stalin. Sorry, I won't use them, the project in question is gEDA and (I hope) it hardly will use any other Scheme dialect in the near future. Thanks, Vladimir