<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small;color:#666666">Sounds great, Jan. Happy to see progress.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 18, 2017 at 11:15 AM, Jan Nieuwenhuizen <span dir="ltr"><<a href="mailto:janneke@gnu.org" target="_blank">janneke@gnu.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am pleased to announce the release of Mes 0.11, representing 16<br>
commits over 10 weeks.  MesCC now compiles a less heavily patched<br>
TinyCC into a mes-tcc that in turn passes 41/69 of mescc's C tests.<br>
<br>
When mes-tcc passes all 69 tests, this almost-full-source-<wbr>bootstrapped<br>
version of TinyCC should be able to compile itself.  An unpatched, GNU<br>
Gcc-compiled tcc is known to compile GNU Gcc.<br>
<br>
* About<br>
<br>
    Mes[0] aims to create full source bootstrapping for GuixSD[1] as<br>
    part of the bootstrappable builds[2] project.<br>
<br>
    It currently consists of a mutual self-hosting [close to Guile-]<br>
    Scheme interpreter prototype in C and a Nyacc-based C compiler in<br>
    [Guile] Scheme.  This C prototype will be rewritten in stage0[3]<br>
    M1 assembly (or compiled by M2-Planet or stage2 slow-LISP, or ...).<br>
<br>
    The Scheme interpreter prototype (mes.c) has a Garbage Collector,<br>
    a library of loadable Scheme modules-- notably Dominique Boucher's<br>
    LALR[4], Pre-R6RS portable syntax-case[5] with R7RS ellipsis, Matt<br>
    Wette's Nyacc[6], Guile's PEG[7] --and test suite just barely<br>
    enough to support a simple REPL (repl.mes) and simple C-compiler<br>
    MesCC (mescc.mes).<br>
<br>
    MesCC can compile a modified TinyCC[8] that is close to being<br>
    self-hosting.  A GNU Ccc-compiled tcc is known[9] to compile GCC.<br>
<br>
    Mes is inspired by The Maxwell Equations of Software: LISP-1.5[10]<br>
    -- John McCarthy page 13, GNU Guix's source/binary packaging<br>
    transparency and Jeremiah Orians's stage0 ~300 byte self-hosting<br>
    hex assembler.<br>
<br>
* Download<br>
<br>
    git clone <a href="https://gitlab.com/janneke/mes" rel="noreferrer" target="_blank">https://gitlab.com/janneke/mes</a><br>
<br>
    wget <a href="https://gitlab.com/janneke/mes/repository/archive.tar.gz?ref=v0.11" rel="noreferrer" target="_blank">https://gitlab.com/janneke/<wbr>mes/repository/archive.tar.gz?<wbr>ref=v0.11</a> -O mes-0.11.tar.gz<br>
<br>
Mes runs from the source tree and can also be built, packaged and<br>
installed in Guix[SD] by the usual<br>
<br>
    guix package -f guix.scm<br>
<br>
* Changes in 0.11 since 0.10<br>
 ** MesCC<br>
 *** MesCC now compiles a mes-tcc that passes 41/69 of mescc's C tests.<br>
 *** MesCC's libc can now be compiled with tcc (syscall support: write).<br>
 *** MesCC now compiles a less-patched tcc: -214/+458 lines [WAS: -333/+747].<br>
 *** MesCC now supports empty for.<br>
 *** MesCC has been greatly refactored, 500/3000 lines have been removed.<br>
 *** MesCC now supports complex [struct] by value assign foo.bar, foo->bar, foo[bar].<br>
 *** MesCC now depends on Nyacc 0.82.4.<br>
<br>
Greetings,<br>
janneke<br>
<br>
[0] <a href="https://gitlab.com/janneke/mes" rel="noreferrer" target="_blank">https://gitlab.com/janneke/mes</a><br>
[1] <a href="https://www.gnu.org/software/guix" rel="noreferrer" target="_blank">https://www.gnu.org/software/<wbr>guix</a><br>
[2] <a href="http://bootstrappable.org" rel="noreferrer" target="_blank">http://bootstrappable.org</a><br>
[3] <a href="https://github.com/oriansj/stage0" rel="noreferrer" target="_blank">https://github.com/oriansj/<wbr>stage0</a><br>
[4] <a href="https://github.com/schemeway/lalr-scm" rel="noreferrer" target="_blank">https://github.com/schemeway/<wbr>lalr-scm</a><br>
[5] <a href="https://www.cs.indiana.edu/chezscheme/syntax-case/old-psyntax.html" rel="noreferrer" target="_blank">https://www.cs.indiana.edu/<wbr>chezscheme/syntax-case/old-<wbr>psyntax.html</a><br>
[6] <a href="https://www.nongnu.org/nyacc/" rel="noreferrer" target="_blank">https://www.nongnu.org/nyacc/</a><br>
[7] <a href="https://www.gnu.org/software/guile/docs/master/guile.html/PEG-Parsing.html" rel="noreferrer" target="_blank">https://www.gnu.org/software/<wbr>guile/docs/master/guile.html/<wbr>PEG-Parsing.html</a><br>
[8] <a href="https://gitlab.com/janneke/tinycc" rel="noreferrer" target="_blank">https://gitlab.com/janneke/<wbr>tinycc</a><br>
[9] <a href="https://lists.gnu.org/archive/html/tinycc-devel/2017-05/msg00103.html" rel="noreferrer" target="_blank">https://lists.gnu.org/archive/<wbr>html/tinycc-devel/2017-05/<wbr>msg00103.html</a><br>
[10] <a href="http://www.softwarepreservation.org/projects/LISP/book/LISP%25201.5%2520Programmers%2520Manual.pdf" rel="noreferrer" target="_blank">http://www.<wbr>softwarepreservation.org/<wbr>projects/LISP/book/LISP%25201.<wbr>5%2520Programmers%2520Manual.<wbr>pdf</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Jan Nieuwenhuizen <<a href="mailto:janneke@gnu.org">janneke@gnu.org</a>> | GNU LilyPond <a href="http://lilypond.org" rel="noreferrer" target="_blank">http://lilypond.org</a><br>
Freelance IT <a href="http://JoyofSource.com" rel="noreferrer" target="_blank">http://JoyofSource.com</a> | Avatar® <a href="http://AvatarAcademy.com" rel="noreferrer" target="_blank">http://AvatarAcademy.com</a><br>
<br>
</font></span></blockquote></div><br></div>