From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: Guile support in GNU make Date: Sun, 15 Jan 2012 23:02:19 +0100 Message-ID: <8762gchbf8.fsf@gnu.org> References: <1326570905.3482.136.camel@homebase> <87boq5jqmc.fsf@gnuvola.org> <1326643949.3482.241.camel@homebase> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1326702026 9838 80.91.229.12 (16 Jan 2012 08:20:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jan 2012 08:20:26 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jan 16 09:20:22 2012 Return-path: Envelope-to: guile-user@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 1Rmhni-0003th-Bi for guile-user@m.gmane.org; Mon, 16 Jan 2012 09:20:22 +0100 Original-Received: from localhost ([::1]:45299 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rmhng-0002SZ-T7 for guile-user@m.gmane.org; Mon, 16 Jan 2012 03:20:20 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmY9s-0007Nz-HY for guile-user@gnu.org; Sun, 15 Jan 2012 17:02:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmY9r-0005qp-E5 for guile-user@gnu.org; Sun, 15 Jan 2012 17:02:36 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:59619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmY9r-0005ql-8x for guile-user@gnu.org; Sun, 15 Jan 2012 17:02:35 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RmY9q-0004LI-CT for guile-user@gnu.org; Sun, 15 Jan 2012 23:02:34 +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 ; Sun, 15 Jan 2012 23:02:34 +0100 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Jan 2012 23:02:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 =?iso-8859-1?Q?Niv=F4se?= an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:aFS0PR8ByGBMc1Y4amkyqgXxgg0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-Mailman-Approved-At: Mon, 16 Jan 2012 03:20:09 -0500 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:9146 Archived-At: Hi Paul, And thanks for the great news! :-) Paul Smith skribis: > On Sun, 2012-01-15 at 09:51 +0100, Thien-Thi Nguyen wrote: [...] >> - The ‘#t => t’ distinguishes the symbol t from others, which feels wrong. >> I suggest #t => ""; #f => error. > > Hm. The problem with this is that we can't easily use Guile booleans in > GNU make. For example, the syntax for make's $(if ...) function is: > > $(if ,[,]) > > The is expanded as a makefile expression and if it's empty > it's considered false. If it's non-empty it's considered true. Would it be possible for Make to delay the conversion of SCMs to strings, and in turn to differentiate between conditions as strings, and conditions that are SCMs? In the latter case, it could just apply scm_is_true to the condition. Thanks, Ludo’.