From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jan Nieuwenhuizen Newsgroups: gmane.lisp.guile.devel Subject: Guile and Mes [WAS: conflicts in the gnu project now affect guile] Date: Sat, 19 Oct 2019 09:51:41 +0200 Organization: AvatarAcademy.nl Message-ID: <87eez9mauq.fsf_-_@gnu.org> References: <87blugg7dt.fsf@pobox.com> <87r23c4109.fsf@netris.org> <87tv8726lm.fsf@gnu.org> <87lfti1pp0.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="98186"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: Andy Wingo , guile-devel@gnu.org To: Mark H Weaver Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Oct 19 09:51:51 2019 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iLjWg-000PQp-Ki for guile-devel@m.gmane.org; Sat, 19 Oct 2019 09:51:50 +0200 Original-Received: from localhost ([::1]:50444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLjWf-00051l-Fl for guile-devel@m.gmane.org; Sat, 19 Oct 2019 03:51:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36042) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLjWb-00051Y-8L for guile-devel@gnu.org; Sat, 19 Oct 2019 03:51:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iLjWZ-0008Ac-Qo; Sat, 19 Oct 2019 03:51:43 -0400 Original-Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=55398 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iLjWZ-0002by-Bw; Sat, 19 Oct 2019 03:51:43 -0400 X-Url: http://AvatarAcademy.nl In-Reply-To: <87lfti1pp0.fsf@netris.org> (Mark H. Weaver's message of "Fri, 18 Oct 2019 03:24:00 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.lisp.guile.devel:20116 Archived-At: Mark H Weaver writes: Hi Mark, >> I have been worrying a bit about this change because I do not see how to >> implement it in Mes. > > There's a straightforward way to translate a body containing mixed > definitions and expressions into a 'letrec*'. It's illustrated in the > commit log, and in the manual: > > https://git.savannah.gnu.org/cgit/guile.git/commit/?id=3D20535922147cd5= 992330962aaa5c4986563fc905 > https://git.savannah.gnu.org/cgit/guile.git/tree/doc/ref/api-binding.te= xi?id=3D5284b9b9c6cecc404a912acaefce2b883ac0dbba#n284 Thanks! I really appreciate your help. Andy found me on IRC and also helped me with two similar suggestions. It's great that you both have helped take away my worries here. Even better, these solutions got me thinking about how Mes implements macros and Guile compatibility. Our next big target for Mes should be to remove define-macro support from eval_apply and load Guile's psyntax-pp.scm. Probably best to start playing with Guile stable-2.0 and first reduce psyntax.scm to the bare minimum, regenerate psyntax-pp.scm and get a easier success and work from that. Greetings, janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com