1 Subject: Mes 0.13 released
3 I am pleased to announce the release of Mes 0.13, representing 45
4 commits over 3 weeks. MesCC can now compile a functional tcc when
5 running on Mes (in ~1h45') or on Guile (in ~3min).
7 This means that we are getting very close to a full source bootstrap
8 of tcc: it is now built without gcc, glibc or guile; using only
9 MesCC-tools and Mes sources and corresponding ascii/binary seeds.
13 Mes[0] aims to help create full source bootstrapping for GuixSD[1]
14 as part of the bootstrappable builds[2] project.
16 It currently consists of a mutual self-hosting Scheme interpreter
17 prototype in C and a Nyacc-based C compiler in Scheme. This C
18 prototype is being simplified to be transpiled by M2-Planet[3].
20 The Scheme interpreter prototype (mes.c) has a Garbage Collector,
21 a library of loadable Scheme modules-- notably Dominique Boucher's
22 LALR[4], pre-R6RS portable syntax-case[5] with R7RS ellipsis, Matt
23 Wette's Nyacc[6], Guile's PEG[7] --and test suite just barely
24 enough to support a simple REPL (repl.mes) and simple C-compiler
27 Mes+MesCC can compile a modified TinyCC[8] that is close to being
28 self-hosting. A GNU Gcc-compiled tcc is known[9] to compile GCC.
30 Mes is inspired by The Maxwell Equations of Software: LISP-1.5[10]
31 -- John McCarthy page 13, GNU Guix's source/binary packaging
32 transparency and Jeremiah Orians's stage0[11] ~300 byte self-hosting
37 git clone https://gitlab.com/janneke/mes
39 wget https://gitlab.com/janneke/mes/-/archive/v0.13/mes-0.13.tar.gz
41 Mes runs from the source tree and can also be built, packaged and
42 installed in Guix[SD] by the usual
44 guix package -f guix.scm
46 * Changes in 0.13 since 0.12
48 *** Bootstrapped Mes+MesCC can now compile a patched tcc in ~2h30' (~25,000 LOC).
49 *** MesCC scripts for Mes and Guile are now merged; executable is: `mescc'.
50 *** Mes now uses only one arena for stop-and-copy; doubles available size.
51 *** Mes now has a Guile-like command-line interface (mes.repl has been removed).
52 *** Mes now boots into a full Scheme by default.
53 *** Mes can now be compiled (MES_MINI=1) to boot into a minimal Scheme (~2000 cells).
54 *** Mes now creates less garbage in the reader and in
55 append2, append_reverse, reverse, reverse!, vector-for-each, vector-to-list, vector-map.
57 append-reverse, chmod, ioctl, isatty, isspace, last_pair, reverse!.
60 char-whitespace?, chmod, isatty?
61 ** Noteworthy bug fixes
62 *** Two bugs in the jam scraper/garbage collector have been fixed.
63 *** equal2_p now uses tail call elimination.
64 *** Escaped characters in strings are now read and write'd correctly.
65 *** The repl now expands macros again.
70 [0] https://gitlab.com/janneke/mes
71 [1] https://www.gnu.org/software/guix
72 [2] http://bootstrappable.org
73 [3] https://github.com/oriansj/m2-planet
74 [4] https://github.com/schemeway/lalr-scm
75 [5] https://www.cs.indiana.edu/chezscheme/syntax-case/old-psyntax.html
76 [6] https://www.nongnu.org/nyacc/
77 [7] https://www.gnu.org/software/guile/docs/master/guile.html/PEG-Parsing.html
78 [8] https://gitlab.com/janneke/tinycc
79 [9] https://lists.gnu.org/archive/html/tinycc-devel/2017-05/msg00103.html
80 [10] http://www.softwarepreservation.org/projects/LISP/book/LISP%201.5%20Programmers%20Manual.pdf
81 [11] https://github.com/oriansj/stage0