1 Subject: Mes 0.11 released
3 I am pleased to announce the release of Mes 0.11, representing 16
4 commits over 10 weeks. MesCC now compiles a less heavily patched
5 TinyCC into a mes-tcc that in turn passes 41/69 of mescc's C tests.
7 When mes-tcc passes all 69 tests, this almost-full-source-bootstrapped
8 version of TinyCC should be able to compile itself. An unpatched, GNU
9 Gcc-compiled tcc is known to compile GNU Gcc.
13 Mes[0] aims to create full source bootstrapping for GuixSD[1] as
14 part of the bootstrappable builds[2] project.
16 It currently consists of a mutual self-hosting [close to Guile-]
17 Scheme interpreter prototype in C and a Nyacc-based C compiler in
18 [Guile] Scheme. This C prototype will be rewritten in stage0[3]
19 M1 assembly (or compiled by M2-Planet or stage2 slow-LISP, or ...).
21 The Scheme interpreter prototype (mes.c) has a Garbage Collector,
22 a library of loadable Scheme modules-- notably Dominique Boucher's
23 LALR[4], Pre-R6RS portable syntax-case[5] with R7RS ellipsis, Matt
24 Wette's Nyacc[6], Guile's PEG[7] --and test suite just barely
25 enough to support a simple REPL (repl.mes) and simple C-compiler
28 MesCC can compile a modified TinyCC[8] that is close to being
29 self-hosting. A GNU Ccc-compiled tcc is known[9] to compile GCC.
31 Mes is inspired by The Maxwell Equations of Software: LISP-1.5[10]
32 -- John McCarthy page 13, GNU Guix's source/binary packaging
33 transparency and Jeremiah Orians's stage0 ~300 byte self-hosting
38 git clone https://gitlab.com/janneke/mes
40 wget https://gitlab.com/janneke/mes/repository/archive.tar.gz?ref=v0.11 -O mes-0.11.tar.gz
42 Mes runs from the source tree and can also be built, packaged and
43 installed in Guix[SD] by the usual
45 guix package -f guix.scm
47 * Changes in 0.11 since 0.10
49 *** MesCC now compiles a mes-tcc that passes 41/69 of mescc's C tests.
50 *** MesCC's libc can now be compiled with tcc (syscall support: write).
51 *** MesCC now compiles a less-patched tcc: -214/+458 lines [WAS: -333/+747].
52 *** MesCC now supports empty for.
53 *** MesCC has been greatly refactored, 500/3000 lines have been removed.
54 *** MesCC now supports complex [struct] by value assign foo.bar, foo->bar, foo[bar].
55 *** MesCC now depends on Nyacc 0.82.4.
60 [0] https://gitlab.com/janneke/mes
61 [1] https://www.gnu.org/software/guix
62 [2] http://bootstrappable.org
63 [3] https://github.com/oriansj/stage0
64 [4] https://github.com/schemeway/lalr-scm
65 [5] https://www.cs.indiana.edu/chezscheme/syntax-case/old-psyntax.html
66 [6] https://www.nongnu.org/nyacc/
67 [7] https://www.gnu.org/software/guile/docs/master/guile.html/PEG-Parsing.html
68 [8] https://gitlab.com/janneke/tinycc
69 [9] https://lists.gnu.org/archive/html/tinycc-devel/2017-05/msg00103.html
70 [10] http://www.softwarepreservation.org/projects/LISP/book/LISP%25201.5%2520Programmers%2520Manual.pdf