From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: [potluck dish] Compiler for the Joy language Date: Mon, 22 Feb 2016 15:10:12 +0100 Message-ID: <87io1gomyj.fsf@gnu.org> References: <20160215221723.240e4fa6@openmailbox.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1456150265 15593 80.91.229.3 (22 Feb 2016 14:11:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2016 14:11:05 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Feb 22 15:10:57 2016 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 1aXrCS-0007pV-Dz for guile-user@m.gmane.org; Mon, 22 Feb 2016 15:10:56 +0100 Original-Received: from localhost ([::1]:49334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXrCR-0007V2-MG for guile-user@m.gmane.org; Mon, 22 Feb 2016 09:10:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXrCH-0007Rj-4P for guile-user@gnu.org; Mon, 22 Feb 2016 09:10:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXrCC-00011S-52 for guile-user@gnu.org; Mon, 22 Feb 2016 09:10:45 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:33487) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXrCB-000116-PL for guile-user@gnu.org; Mon, 22 Feb 2016 09:10:40 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXrBw-0007II-2g for guile-user@gnu.org; Mon, 22 Feb 2016 15:10:24 +0100 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Feb 2016 15:10:24 +0100 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Feb 2016 15:10:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 =?utf-8?Q?Vent=C3=B4se?= an 224 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:ZMTHwKxoCLXcjMPlnUwmkSLQbHc= 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:12422 Archived-At: Hey! Eric Bavier skribis: > And happy birthday Guile! \o/ > $ guile > scheme@(guile-user)> ,L joy > joy@(guile-user)> "/base.joy" include . > joy@(guile-user)> 2 3 + 4 1 . > $1 = (1 4 5) > joy@(guile-user)> DEFINE foo == 2 3 + 4 1 ; bar == + + . > joy@(guile-user)> foo bar . > $2 = (10) > joy@(guile-user)> [1 2 3 4 5 6] [fact] map . > $3 = ((1 2 6 24 120 720)) > joy@(guile-user)> [1 2 3 4 5 6] [fact] map sum . > $4 = (873) > joy@(guile-user)> [1 2 3 4 5 6] [fact 2 /] map . > $5 = ((0 1 3 12 60 360)) That’s fun! > My interest in Joy came from a search to find a small language whose > minimal base could be implemented as an easily-audited assembly > interpreter, but which has higher-level language capabilities. Interesting. Was this in the context of destroy bootstrapping or something else? > - Distribution: part of Guile, or separate? I’d suggest keeping it separate, at least for now. All it takes is to use the (language …) name space and then there’s no difference between an in-tree and an out-of-tree language. Then you can make a formal release and add a Guix package! :-) Thanks for the dish! Ludo’.