From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noah Lavine Newsgroups: gmane.lisp.guile.devel Subject: Re: Lightning Bindings Date: Tue, 1 Jun 2010 16:42:12 -0400 Message-ID: <88BCE968-7108-4CA9-B7E0-A3D5474DDFD5@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1275425935 24024 80.91.229.12 (1 Jun 2010 20:58:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Jun 2010 20:58:55 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jun 01 22:58:53 2010 connect(): No such file or directory Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OJYY1-0006TX-Bu for guile-devel@m.gmane.org; Tue, 01 Jun 2010 22:58:53 +0200 Original-Received: from localhost ([127.0.0.1]:47694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJYY0-0002T9-Qz for guile-devel@m.gmane.org; Tue, 01 Jun 2010 16:58:52 -0400 Original-Received: from [140.186.70.92] (port=60862 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJYIF-0007lm-2C for guile-devel@gnu.org; Tue, 01 Jun 2010 16:42:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJYID-0002je-JF for guile-devel@gnu.org; Tue, 01 Jun 2010 16:42:34 -0400 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:44955) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJYI5-0002he-Hv; Tue, 01 Jun 2010 16:42:25 -0400 Original-Received: by vws13 with SMTP id 13so7210479vws.0 for ; Tue, 01 Jun 2010 13:42:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:cc:to :mime-version:x-mailer; bh=z7mTK2/jCmSMb5aX9sLCZa3GbEQVAwV7zFoNtYzK1UU=; b=reLkVXBQ6RC1iYGmISmAhgnZyUEIxGmTgotB6QbeV7ZeM0KPmbI9tbYWI+CL299Xm1 XJbci7JWVVpAjWtxOOKG8QH/MWgjv7eW6Miri6MbtczFbGcPJRPsdjNQ9QnLjl3YljPJ p4s0Dz9DsUXYYCnENaUmN9wVJaQ6tcsqGr3wc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :cc:to:mime-version:x-mailer; b=jEY6tNQkwH5OllvQxkqHN7lzx9UrzpeDYnkAdLEOyFZtVx8S6LeECZ7CzZMuU9Vks6 dfI/gtiA3NQL6hM8fxi9w8DbY1yi4ZIkJzCs1yPF4YRildKddOaHTSxhjJwR8Fg4Ke6r fZ9i6c9Y08srlWeqSlD+qR0oE5WLTAtMMck9U= Original-Received: by 10.224.33.148 with SMTP id h20mr2761986qad.151.1275424942814; Tue, 01 Jun 2010 13:42:22 -0700 (PDT) Original-Received: from [192.168.1.65] (pool-96-240-197-167.spfdma.east.verizon.net [96.240.197.167]) by mx.google.com with ESMTPS id 6sm7592041qwd.53.2010.06.01.13.42.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Jun 2010 13:42:21 -0700 (PDT) X-Mailer: Apple Mail (2.1078) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10415 Archived-At: They claim that MELT is tightly integrated with GCC, but after reading = http://gcc.gnu.org/wiki/MiddleEndLispTranslator, I don't believe it. The = "MELT compiler implementation" description suggests that it's a pretty = simple-minded sexp-to-C translator. I also notice that none of the = examples has any control structures more complicated than `if` and = `foreach`. I'd say it's basically a nice syntax for messing with GCC = data structures. When the page says "very tightly integrated into GCC", it seems to mean = "has boxed versions of a few internal GCC data structures" (there's a = list on the page I link. It's not very long). That shouldn't be hard at = all to connect Guile to. The only part that could be tricky is interfacing with GCC's garbage = collection. I don't know how Guile's FFI interacts with other memory = management systems, so this could be a problem, but I think it could be = done. It's going to have to be solved anyway if Guile is going to = interface with other memory management systems. Besides, this is one of Guile's objectives, isn't it? GNU programs = shouldn't need to implement their own extension languages, because Guile = can handle it. Noah=