From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAk6Y-0002Bx-Gr for guix-patches@gnu.org; Tue, 16 May 2017 17:34:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAk6U-0007y7-Em for guix-patches@gnu.org; Tue, 16 May 2017 17:34:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46571) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dAk6U-0007y3-B5 for guix-patches@gnu.org; Tue, 16 May 2017 17:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dAk6U-000314-50 for guix-patches@gnu.org; Tue, 16 May 2017 17:34:02 -0400 Subject: bug#26926: [PATCH] gnu: update Mes to 0.6. Resent-Message-ID: From: Jan Nieuwenhuizen References: <87inl3770q.fsf@gnu.org> <87k25g5zyi.fsf@gnu.org> Date: Tue, 16 May 2017 23:33:29 +0200 In-Reply-To: <87k25g5zyi.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 16 May 2017 22:06:13 +0200") Message-ID: <8760h05vx2.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 26926@debbugs.gnu.org =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ludovic Court=C3=A8s writes: >> Mes 0.6 for Guix. Nyacc is now unbundled. Mescc works with vanilla >> Nyacc. Mescc behaves more like a regular C compiler and now passes >> 33/55 tests of the tinycc test2 test suite. > > Woow, really impressive progress. Thanks! >> Mescc can also be used as a Nyacc C compiler backend for Guile (x86 only= ). > > I got stuck in a meta-circular attempt to understand the meaning of this > sentence. What does this mean in very explicit terms? :-) What I call Mescc is a Scheme program that can be executed (interpreted) by Mes, but it can also be run by Guile. Like so: guix package -i nyacc mes guile -c '(use-modules (language c99 compiler)) (with-input-from-string= "int main () {return printf (\"Hi Mescc\n\");}" c99-input->elf)' > a.out chmod +x a.out ./a.out =3D> Hi Mescc Does this make it more explicit? >> From f84c29fa5947051033d022dcb02496d8f8e14d28 Mon Sep 17 00:00:00 2001 >> From: Jan Nieuwenhuizen >> Date: Sun, 14 May 2017 11:35:30 +0200 >> >> > ^ extra line :-) Weird I think this is a mailing thing, the commit looks fine. >> + ,@(if (or (equal? (%current-system) "x86_64-linux") >> + (equal? (%current-target-system) "x86_64-linux")) > > Note that %current-system is a =E2=80=9Csystem type=E2=80=9D like =E2=80= =9Cx86_64-linux=E2=80=9D > whereas %current-target-system is a GNU triplet like > =E2=80=9Cx86_64-linux-pc-gnu=E2=80=9D. Thus, the second line should be > > (string-prefix? (%current-target-system) "x86_64-linux") Ah...ok. As an aside: would we want to to change one of these names? > OK with this change! Yay! > I=E2=80=99ve added you as a member of the group on Savannah so you can pu= sh it > yourself. :-) Great. > Please read =E2=80=98HACKING=E2=80=99 for the details. Before pushing, c= an you reply to > this message and sign your reply with the OpenPGP key that you=E2=80=99ll= use > to sign commits? Also please upload your OpenPGP key to Savannah. Okay, great! janneke =2D --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com =2D----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTRDCIV/LL7b0kRcwqngbapL1xx1gUCWRtwKQAKCRCngbapL1xx 1gbuAJ9p6uqKDp2uyU4fyHKM/vsVtyFIRwCgkdokPA4GjklWThXuW5oeGgEWkSQ=3D =3Dw12i =2D----END PGP SIGNATURE-----