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: summer of code ideas Date: Mon, 7 Mar 2011 15:12:58 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1299530616 26830 80.91.229.12 (7 Mar 2011 20:43:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2011 20:43:36 +0000 (UTC) Cc: guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Mar 07 21:43:31 2011 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 1PwhH2-0000J3-9u for guile-devel@m.gmane.org; Mon, 07 Mar 2011 21:43:24 +0100 Original-Received: from localhost ([127.0.0.1]:41786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pwh5T-0002Fz-Ao for guile-devel@m.gmane.org; Mon, 07 Mar 2011 15:31:27 -0500 Original-Received: from [140.186.70.92] (port=42818 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pwgng-0002eo-J6 for guile-devel@gnu.org; Mon, 07 Mar 2011 15:13:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pwgnc-00074c-4p for guile-devel@gnu.org; Mon, 07 Mar 2011 15:13:02 -0500 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:60610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pwgnc-00073x-0w for guile-devel@gnu.org; Mon, 07 Mar 2011 15:13:00 -0500 Original-Received: by vws13 with SMTP id 13so5079603vws.0 for ; Mon, 07 Mar 2011 12:12:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=AhGogmCsFuh/dLem3cFG7js/6xW4ngPGKFyGOnMIlGA=; b=U4dFxrCy7oohIrKxFEjyfG4CpSAtLaXxFzw6mT4fZlnnyNxihPxR2uyionRcA93NvR MFezmIKNxzH97lXyPFZ+6UWLFwKFt3aJcu28xUWnXdKKUPS/MREOwJdJY7d2NCN9rDrb ygLHUJ3xbckftZ6RtWw1hrYymXiMgTEEXtqkw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=jQ1SmyX1TGLRXV/RwcyR7x2dxCJMRT6jm2Jjb0cztHGr5/8B+BJ44sGxq8FV4XQ0sm eJ1DfY2/IajvPQs9y47M21/cRfF3uDvYdT4uih6loIVPqAcTeZjjriLXwpqy1U1Vkcga y3ch21+0fO1i6AXs6najAzF4UbIdbmf84yDME= Original-Received: by 10.52.65.69 with SMTP id v5mr6153915vds.118.1299528778640; Mon, 07 Mar 2011 12:12:58 -0800 (PST) Original-Received: by 10.52.166.194 with HTTP; Mon, 7 Mar 2011 12:12:58 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: sHuimVt6X3dDShwePnDU55Hbp80 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.41 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:11814 Archived-At: I've been toying with the idea of an AOT compiler for Guile, and I think that would make a good summer project. I think you'd want to compile from Tree-IL to GCC's GIMPLE format (the highest-level intermediate representation they have, I think). One interesting possibility would be basing it on Stalin, which compiles R4RS to C and is apparently extremely good. It's GPL-licensed, but as far as I know not FSF-copyrighted, so someone would either have to ask the person for a copyright assignment or reimplement things. Either way, there would be a substantial amount of work to be done just getting basic translation to work and integrating with both GCC and Guile, and then of course we'd like it to optimize things. Noah On Mon, Mar 7, 2011 at 2:51 PM, Andy Wingo wrote: > Hey all, > > We need to get together a few Guile-proposed projects for SoC students > to hack on. =A0How about we collect them here in this thread. =A0I'll kic= k > it off with one idea: > > =A0* A CPAN for Guile. =A0My initial thoughts are that you want a > =A0 =A0combination of APT-like discovery and download of sources of > =A0 =A0software, and a stowfs-like local storage, allowing you to update = a > =A0 =A0tree of symlinks in $XDG_DATA_DIRS/guile/2.0/ to add packages, rol= l > =A0 =A0back changes, etc. =A0See > =A0 =A0http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.= html > =A0 =A0for more on $XDG_DATA_DIRS. > > =A0 =A0C extensions are outside the scope of this project. =A0IMO a CPAN = for > =A0 =A0Guile should not compile C helper libraries. > > =A0 =A0You can start here by doing a survey of what other schemes do: > =A0 =A0chicken and racket being the obvious ones, and also perhaps taking= a > =A0 =A0look at cabal and other CPAN-alikes developed in the last 10 years= . > > =A0 =A0You'd need to define a format for code -- tarballs or something. > =A0 =A0You need to think about signing too, and the possibility both of > =A0 =A0dumb servers and smart servers. =A0You'll need to write a web clie= nt > =A0 =A0in Guile, if one hasn't been written yet. =A0In short, a large pro= ject > =A0 =A0for an ambitious and careful hacker! > > Regards, > > Andy > -- > http://wingolog.org/ > >