From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nalaginrut Newsgroups: gmane.lisp.guile.devel Subject: Re: New feature proposal: Support C-code inline? Date: Sat, 23 Apr 2011 12:24:08 +0800 Organization: HFG Message-ID: <1303532648.3575.8.camel@Renee-desktop> References: <1303293013.2749.41.camel@Renee-desktop> Reply-To: NalaGinrut@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1303532682 23036 80.91.229.12 (23 Apr 2011 04:24:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Apr 2011 04:24:42 +0000 (UTC) Cc: guile-devel To: Noah Lavine Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Apr 23 06:24:37 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QDUOY-0001sB-Tk for guile-devel@m.gmane.org; Sat, 23 Apr 2011 06:24:35 +0200 Original-Received: from localhost ([::1]:46187 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDUOW-00057Q-N2 for guile-devel@m.gmane.org; Sat, 23 Apr 2011 00:24:32 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDUOU-000579-4o for guile-devel@gnu.org; Sat, 23 Apr 2011 00:24:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QDUOT-00068e-9D for guile-devel@gnu.org; Sat, 23 Apr 2011 00:24:30 -0400 Original-Received: from mail-px0-f179.google.com ([209.85.212.179]:61791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDUOS-00068U-Sz for guile-devel@gnu.org; Sat, 23 Apr 2011 00:24:29 -0400 Original-Received: by pxi2 with SMTP id 2so867316pxi.38 for ; Fri, 22 Apr 2011 21:24:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:reply-to:to:cc:in-reply-to :references:content-type:organization:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=zoY2z2tfPTagx0whLH+tiN6NLqB6MF5s5KS1+0BW0Lk=; b=fgH/jmw8qj+y5rBI61Ot9OKJIJDNFllmohcbfyOIt2QZv/0OpUSRBndz/fYdChYRA2 A6nyVCehf8ivZG6az1xFzlzLrsdFMs6v7R2VbN7MACVA/CCjoGczAKi6ZAhV1jbKFvG/ ritYfH6qP6EF6jUlcKp0Z27pcbzQTYlQFcaV4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=Vbrgcs9mVkBjPoJxlhz06gGPN9WzzdPN5HS5BC+VIIps/O3jj53Oq3KS/1oOJ2TN7p H+1Bcz5U6HFlMrZOfRKtzzyzzqaGCCrKuYu45U0OOvLiG7JyA1qFXpbLajiP1Pc9nMr8 4gyARLr9m3v93aQndaHY2IhLF7fKAjnkxHR6w= Original-Received: by 10.68.52.199 with SMTP id v7mr289698pbo.244.1303532667512; Fri, 22 Apr 2011 21:24:27 -0700 (PDT) Original-Received: from [192.168.100.101] ([183.15.166.209]) by mx.google.com with ESMTPS id y7sm2414270pbc.36.2011.04.22.21.24.17 (version=SSLv3 cipher=OTHER); Fri, 22 Apr 2011 21:24:25 -0700 (PDT) In-Reply-To: X-Mailer: Evolution 2.28.3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.179 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12318 Archived-At: > I just looked at the code. It's really cool! This looks like a way to > write modules that use C and Scheme together in such a way that the > code is all in one place. I think it could be much easier to read code > written this way than code in separate C and Scheme files. > > What do other people think? > > Noah Well~thanks for response~ I think this simple solution could be a temporary substitute before a AOT guile-compiler come out. To myself, I really want to use a AOT compiler to do such a job(it's better for optimizing the code). Cause my target is to build some guile apps in embedded device. Anyway, this is useful for non-embedded users too~ -- GNU Powered it GPL Protected it GOD Blessed it HFG - NalaGinrut --hacker key-- v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x hackerkey.com ---end key---