[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mes 0.11 released
Mes 0.11 released
Sat, 18 Nov 2017 17:15:09 +0100
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.
Mes aims to create full source bootstrapping for GuixSD as
part of the bootstrappable builds 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
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, Pre-R6RS portable syntax-case with R7RS ellipsis, Matt
Wette's Nyacc, Guile's PEG --and test suite just barely
enough to support a simple REPL (repl.mes) and simple C-compiler
MesCC can compile a modified TinyCC that is close to being
self-hosting. A GNU Ccc-compiled tcc is known to compile GCC.
Mes is inspired by The Maxwell Equations of Software: LISP-1.5
-- John McCarthy page 13, GNU Guix's source/binary packaging
transparency and Jeremiah Orians's stage0 ~300 byte self-hosting
git clone https://gitlab.com/janneke/mes
wget https://gitlab.com/janneke/mes/repository/archive.tar.gz?ref=v0.11 -O
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 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,
*** MesCC now depends on Nyacc 0.82.4.
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com
- Mes 0.11 released,
Jan Nieuwenhuizen <=