From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Sutter, Benjamin" Newsgroups: gmane.comp.gnu.guix.devel,gmane.lisp.guile.user Subject: Re: Mes 0.11 released Date: Sat, 18 Nov 2017 19:11:02 -0500 Message-ID: References: <87tvxrk1gy.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113de7da253d8e055e4ace29" X-Trace: blaine.gmane.org 1511050288 26699 195.159.176.226 (19 Nov 2017 00:11:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Nov 2017 00:11:28 +0000 (UTC) Cc: Guix-devel , rb-general@lists.reproducible-builds.org, guile-user@gnu.org, epsilon-devel@gnu.org, bootstrappable@freelists.org To: Jan Nieuwenhuizen Original-X-From: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sun Nov 19 01:11:22 2017 Return-path: Envelope-to: gcggd-guix-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eGDCj-0006E3-SR for gcggd-guix-devel@m.gmane.org; Sun, 19 Nov 2017 01:11:22 +0100 Original-Received: from localhost ([::1]:51476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGDCl-0007LN-Be for gcggd-guix-devel@m.gmane.org; Sat, 18 Nov 2017 19:11:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eGDCT-0007Kr-S2 for guix-devel@gnu.org; Sat, 18 Nov 2017 19:11:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eGDCS-0005NK-6z for guix-devel@gnu.org; Sat, 18 Nov 2017 19:11:05 -0500 Original-Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]:46948) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eGDCR-0005MX-Tt for guix-devel@gnu.org; Sat, 18 Nov 2017 19:11:04 -0500 Original-Received: by mail-io0-x22f.google.com with SMTP id t11so12331036iof.13 for ; Sat, 18 Nov 2017 16:11:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aurora-schools-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bHA8nKQAKU32VyrtjNJ+g7qVUAk4yffkDXehGqqnsr0=; b=sxeOHWiLctnrdAtHWxNf8eykgIWtdlQetwBB+99ei9WidhA0K2IMOZ99aCBgpmyzC6 rRny0ZtsSrXn9uFpI567m5/sSkwPEc0H6HJzozZd1DXwCCcRMHY4wrfl6C6Px3/GOpKe c/1b4k7Or+hjIUI9gOHohoQqBLIa+fP5/hdEErqzXT0ppwH+qA/bpR/QpmaSOuN0Ab+E jYvFgGr2gu8Ay/MEqPTV+WHnMtsSK5DMpeHWPqCYOOhC4KAwIB5MilPazqhWE76RWxt1 /OhWyW14gOa/D2iy2Kkga63gS7BmFuYksJXA+thsIuKKxMkt9zqRIqbXV/hOBE6rqJ73 gnBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bHA8nKQAKU32VyrtjNJ+g7qVUAk4yffkDXehGqqnsr0=; b=OpHe0T4aZV4/46OjU1il623/dT7N0wic8fLtqaHILso+47LiOWpPmkvdv8FdyBy5Mp DFJirHaMqUYcLrdh9XNDh2Qab8hlAisTrFBq6l7RzQZDjtgi75TjPK6yFGWKz12zSwag fJefUlsNouoR51i0tpgiGL2FBtrlOz891AQbMBMHqn9Ik7qAEN6y9sN7iqsvpYXsVR0c fnXF//ACHEF3+BlNrsROJ3nDGnItKCd9noV7XxEjd6dhrXmDACxnvf6hhyrbbTLQlUNF mVh3jvl6KVxU5GtpTjKVjXyLTPnN9t1FOkDsY6iAD1aQftkxo7VvA5XyBZPQnxRr6AX7 V1QQ== X-Gm-Message-State: AJaThX4HqjCI0pK+D/+KWUEKoNOdOe6V/bDXZOu4Ux+Pr9cROANP77GZ WWLyi6OZvDe1pARA+tQv3oG9j/iDZP458IH7s+6PPub+FQz4UrxqY21Pma1aJP0VLb1kxavvXm3 16+wyj2s+U5Zhcu0XyRAY/HsoO48sUvQP9u1eCb5PJJjHLoc4v27GrMj1ilgWQZbl9/80WPqaNp 1vIua0Mdo= X-Google-Smtp-Source: AGs4zMboanghf3mSxhib3zcouEMc6pIXHcBVN/UJzgcWIdG1QMt3m9sa/jVWnuFAAT51knkK+ph8Dsc8JTuRuSa30kc= X-Received: by 10.107.19.71 with SMTP id b68mr8397958ioj.19.1511050262684; Sat, 18 Nov 2017 16:11:02 -0800 (PST) Original-Received: by 10.2.144.13 with HTTP; Sat, 18 Nov 2017 16:11:02 -0800 (PST) In-Reply-To: <87tvxrk1gy.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::22f X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Original-Sender: "Guix-devel" Xref: news.gmane.org gmane.comp.gnu.guix.devel:40012 gmane.lisp.guile.user:14276 Archived-At: --001a113de7da253d8e055e4ace29 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sounds great, Jan. Happy to see progress. On Sat, Nov 18, 2017 at 11:15 AM, Jan Nieuwenhuizen wrote= : > I am pleased to announce the release of Mes 0.11, representing 16 > commits over 10 weeks. MesCC now compiles a less heavily patched > TinyCC into a mes-tcc that in turn passes 41/69 of mescc's C tests. > > When mes-tcc passes all 69 tests, this almost-full-source-bootstrapped > version of TinyCC should be able to compile itself. An unpatched, GNU > Gcc-compiled tcc is known to compile GNU Gcc. > > * About > > Mes[0] aims to create full source bootstrapping for GuixSD[1] as > part of the bootstrappable builds[2] project. > > It currently consists of a mutual self-hosting [close to Guile-] > Scheme interpreter prototype in C and a Nyacc-based C compiler in > [Guile] Scheme. This C prototype will be rewritten in stage0[3] > M1 assembly (or compiled by M2-Planet or stage2 slow-LISP, or ...). > > The Scheme interpreter prototype (mes.c) has a Garbage Collector, > a library of loadable Scheme modules-- notably Dominique Boucher's > LALR[4], Pre-R6RS portable syntax-case[5] with R7RS ellipsis, Matt > Wette's Nyacc[6], Guile's PEG[7] --and test suite just barely > enough to support a simple REPL (repl.mes) and simple C-compiler > MesCC (mescc.mes). > > MesCC can compile a modified TinyCC[8] that is close to being > self-hosting. A GNU Ccc-compiled tcc is known[9] to compile GCC. > > Mes is inspired by The Maxwell Equations of Software: LISP-1.5[10] > -- John McCarthy page 13, GNU Guix's source/binary packaging > transparency and Jeremiah Orians's stage0 ~300 byte self-hosting > hex assembler. > > * Download > > git clone https://gitlab.com/janneke/mes > > wget https://gitlab.com/janneke/mes/repository/archive.tar.gz? > ref=3Dv0.11 -O mes-0.11.tar.gz > > Mes runs from the source tree and can also be built, packaged and > installed in Guix[SD] by the usual > > guix package -f guix.scm > > * Changes in 0.11 since 0.10 > ** MesCC > *** MesCC now compiles a mes-tcc that passes 41/69 of mescc's C tests. > *** MesCC's libc can now be compiled with tcc (syscall support: write). > *** MesCC now compiles a less-patched tcc: -214/+458 lines [WAS: > -333/+747]. > *** MesCC now supports empty for. > *** MesCC has been greatly refactored, 500/3000 lines have been removed. > *** MesCC now supports complex [struct] by value assign foo.bar, > foo->bar, foo[bar]. > *** MesCC now depends on Nyacc 0.82.4. > > Greetings, > janneke > > [0] https://gitlab.com/janneke/mes > [1] https://www.gnu.org/software/guix > [2] http://bootstrappable.org > [3] https://github.com/oriansj/stage0 > [4] https://github.com/schemeway/lalr-scm > [5] https://www.cs.indiana.edu/chezscheme/syntax-case/old-psyntax.html > [6] https://www.nongnu.org/nyacc/ > [7] https://www.gnu.org/software/guile/docs/master/guile.html/ > PEG-Parsing.html > [8] https://gitlab.com/janneke/tinycc > [9] https://lists.gnu.org/archive/html/tinycc-devel/2017-05/msg00103.html > [10] http://www.softwarepreservation.org/projects/LISP/book/LISP%25201. > 5%2520Programmers%2520Manual.pdf > > -- > Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org > Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.c= om > > --001a113de7da253d8e055e4ace29 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sounds great, Jan. Happy to see = progress.

On Sat, Nov 18, 2017 at 11:15 AM, Jan Nieuwenhuizen &= lt;janneke@gnu.org= > wrote:
I am pleased to announ= ce the release of Mes 0.11, representing 16
commits over 10 weeks.=C2=A0 MesCC now compiles a less heavily patched
TinyCC into a mes-tcc that in turn passes 41/69 of mescc's C tests.

When mes-tcc passes all 69 tests, this almost-full-source-bootstrapped=
version of TinyCC should be able to compile itself.=C2=A0 An unpatched, GNU=
Gcc-compiled tcc is known to compile GNU Gcc.

* About

=C2=A0 =C2=A0 Mes[0] aims to create full source bootstrapping for GuixSD[1]= as
=C2=A0 =C2=A0 part of the bootstrappable builds[2] project.

=C2=A0 =C2=A0 It currently consists of a mutual self-hosting [close to Guil= e-]
=C2=A0 =C2=A0 Scheme interpreter prototype in C and a Nyacc-based C compile= r in
=C2=A0 =C2=A0 [Guile] Scheme.=C2=A0 This C prototype will be rewritten in s= tage0[3]
=C2=A0 =C2=A0 M1 assembly (or compiled by M2-Planet or stage2 slow-LISP, or= ...).

=C2=A0 =C2=A0 The Scheme interpreter prototype (mes.c) has a Garbage Collec= tor,
=C2=A0 =C2=A0 a library of loadable Scheme modules-- notably Dominique Bouc= her's
=C2=A0 =C2=A0 LALR[4], Pre-R6RS portable syntax-case[5] with R7RS ellipsis,= Matt
=C2=A0 =C2=A0 Wette's Nyacc[6], Guile's PEG[7] --and test suite jus= t barely
=C2=A0 =C2=A0 enough to support a simple REPL (repl.mes) and simple C-compi= ler
=C2=A0 =C2=A0 MesCC (mescc.mes).

=C2=A0 =C2=A0 MesCC can compile a modified TinyCC[8] that is close to being=
=C2=A0 =C2=A0 self-hosting.=C2=A0 A GNU Ccc-compiled tcc is known[9] to com= pile GCC.

=C2=A0 =C2=A0 Mes is inspired by The Maxwell Equations of Software: LISP-1.= 5[10]
=C2=A0 =C2=A0 -- John McCarthy page 13, GNU Guix's source/binary packag= ing
=C2=A0 =C2=A0 transparency and Jeremiah Orians's stage0 ~300 byte self-= hosting
=C2=A0 =C2=A0 hex assembler.

* Download

=C2=A0 =C2=A0 git clone https://gitlab.com/janneke/mes

=C2=A0 =C2=A0 wget https://gitla= b.com/janneke/mes/repository/archive.tar.gz?ref=3Dv0.11 -O me= s-0.11.tar.gz

Mes runs from the source tree and can also be built, packaged and
installed in Guix[SD] by the usual

=C2=A0 =C2=A0 guix package -f guix.scm

* Changes in 0.11 since 0.10
=C2=A0** MesCC
=C2=A0*** MesCC now compiles a mes-tcc that passes 41/69 of mescc's C t= ests.
=C2=A0*** MesCC's libc can now be compiled with tcc (syscall support: w= rite).
=C2=A0*** MesCC now compiles a less-patched tcc: -214/+458 lines [WAS: -333= /+747].
=C2=A0*** MesCC now supports empty for.
=C2=A0*** MesCC has been greatly refactored, 500/3000 lines have been remov= ed.
=C2=A0*** MesCC now supports complex [struct] by value assign foo.bar, foo-= >bar, foo[bar].
=C2=A0*** MesCC now depends on Nyacc 0.82.4.

Greetings,
janneke

[0] https://gitlab.com/janneke/mes
[1] https://www.gnu.org/software/guix
[2] http://bootstrappable.org
[3] https://github.com/oriansj/stage0
[4] https://github.com/schemeway/lalr-scm
[5] https://www.cs.indiana.edu/chezscheme/syntax-case/old-psyntax.html
[6] https://www.nongnu.org/nyacc/
[7] https://www.gnu.org/so= ftware/guile/docs/master/guile.html/PEG-Parsing.html
[8] https://gitlab.com/janneke/tinycc
[9] https://lists.gnu.org/archi= ve/html/tinycc-devel/2017-05/msg00103.html
[10] http://www.softwarepreservation.org/projects/LISP/book/LISP%25= 201.5%2520Programmers%2520Manual.pdf

--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.c= om


--001a113de7da253d8e055e4ace29--