From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Panicz Maciej Godek Newsgroups: gmane.lisp.guile.user Subject: Re: Using in C a function defined in guile Date: Sun, 6 Sep 2015 17:23:38 +0200 Message-ID: References: <20150906141001.GA23312@localhost.localdomain> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01227ec498f542051f15b72a X-Trace: ger.gmane.org 1441553033 20319 80.91.229.3 (6 Sep 2015 15:23:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Sep 2015 15:23:53 +0000 (UTC) To: "guile-user@gnu.org" , vzhbanov@gmail.com Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Sep 06 17:23:50 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 1ZYbnJ-0008Oy-T4 for guile-user@m.gmane.org; Sun, 06 Sep 2015 17:23:50 +0200 Original-Received: from localhost ([::1]:48999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYbnJ-0003PL-PC for guile-user@m.gmane.org; Sun, 06 Sep 2015 11:23:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYbnA-0003P9-Oh for guile-user@gnu.org; Sun, 06 Sep 2015 11:23:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYbn9-0008Ef-VO for guile-user@gnu.org; Sun, 06 Sep 2015 11:23:40 -0400 Original-Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:33296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYbn9-0008Df-Nv for guile-user@gnu.org; Sun, 06 Sep 2015 11:23:39 -0400 Original-Received: by wiclk2 with SMTP id lk2so64898395wic.0 for ; Sun, 06 Sep 2015 08:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6mnl3TDLfPZ4OUBrXPQc1NzaiQD//oInwNvW0ECo4qU=; b=tY3EfWg7z7iXhmaYi8S2/fEKLD4M3TBzrywv/vpbepN8Bfha/m4n9dQyN8b+D7TZeK 92rqeZsfoVPltjLFU8CkYbtwfr/5H/+jcqMbgRCDEnNBKIFkPhkxl0cVumqrP0eMKlmt AjPZPq40lCSWyvKx4F/ltrPlaIle38Ww/1kTHNLDNrO1edWuRo49+sglIJnTkmPwxsLC 2Wj3rUEn+STZQrIQz9XLx5sbca5YhSWDLchD2YIZBkIDDXuFl/lNat5vQUteO+dVo6uX Pv2C9UOd6zIqcz6PyN0Bx2uNohZG9JK2BvCkavfHi5ZD9x1Qxc1Ovt6HKqS4j+SIroSE H6+Q== X-Received: by 10.194.121.232 with SMTP id ln8mr29132778wjb.76.1441553018580; Sun, 06 Sep 2015 08:23:38 -0700 (PDT) Original-Received: by 10.194.94.69 with HTTP; Sun, 6 Sep 2015 08:23:38 -0700 (PDT) In-Reply-To: <20150906141001.GA23312@localhost.localdomain> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22b 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:11994 Archived-At: --089e01227ec498f542051f15b72a Content-Type: text/plain; charset=UTF-8 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. --089e01227ec498f542051f15b72a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2015= -09-06 16:10 GMT+02:00 Vladimir Zhbanov <vzhbanov@gmail.com>:
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 hav= ing 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 Gambi= t, Chicken, Scheme->C or Stalin.

--089e01227ec498f542051f15b72a--