From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.lisp.guile.user Subject: Re: Using in C a function defined in guile Date: Sun, 06 Sep 2015 19:09:55 +0200 Organization: Organization?!? Message-ID: <87lhcjbhjw.fsf@fencepost.gnu.org> References: <20150906141001.GA23312@localhost.localdomain> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441559455 19303 80.91.229.3 (6 Sep 2015 17:10:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Sep 2015 17:10:55 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Sep 06 19:10:41 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 1ZYdSi-0004wA-6E for guile-user@m.gmane.org; Sun, 06 Sep 2015 19:10:40 +0200 Original-Received: from localhost ([::1]:49653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYdSi-0005zo-40 for guile-user@m.gmane.org; Sun, 06 Sep 2015 13:10:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYdSR-0005zO-LO for guile-user@gnu.org; Sun, 06 Sep 2015 13:10:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYdSO-0001xG-UM for guile-user@gnu.org; Sun, 06 Sep 2015 13:10:23 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:39475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYdSO-0001wt-OY for guile-user@gnu.org; Sun, 06 Sep 2015 13:10:20 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZYdSK-0004Zl-L5 for guile-user@gnu.org; Sun, 06 Sep 2015 19:10:16 +0200 Original-Received: from x2f4427b.dyn.telefonica.de ([2.244.66.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Sep 2015 19:10:16 +0200 Original-Received: from dak by x2f4427b.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Sep 2015 19:10:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: x2f4427b.dyn.telefonica.de X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:oDWH5UCXEuGErQCZAVLzLOYJ15Y= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:11998 Archived-At: Vladimir Zhbanov writes: > 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. C++ allows for some syntactically nicer techniques. Cf for an implementation in a large-scale C++/GUILE project. The interesting files are those created from scratch in the patch (green in the diffstat). -- David Kastrup