PitchHut logo
MES-replacement
Simplifying stage0 of the live-bootstrap project.
Pitch

This project focuses on a more simple and easier to review replacement for the Linux live-bootstrap project, which involved replacing the GNU Mes compiler by a C-compiler in C that can compile the Tiny C Compiler.

Description

GNU Mes replacement

The goal of this project is to simplify stage0 of live-bootstrap, which involves implementing a replacement for the GNU Mes compiler by implementing a C-compiler in C that can compile the Tiny C Compiler version 0.9.26.

The motivation for this project is given in the presentation Reviewing live-bootstrap.

For blog article related to reviewing the live bootstrap project and this project see the section 'Live-bootstrap' on this page.

Stage 1

The first stage of this project is to implement said C-compiler for i386. The source of the C-compiler is the file tcc_cc.c. This compiler produces intermediate code in a stack based language. The intermediate code can be compiled with the program stack_c.c to assembly or interpreted with the program stack_c_interpreter.c

This stage has been implemented.

Stage 2

The second stage will focus on removing the dependency of the executables from stage0 by building these with the C-compiler.

Acknowledgments

The work in this repository falls under the project Verifying and documenting live-bootstrap, which was funded through the NGI0 Core Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement Nₒ 101092990.

0 comments

No comments yet.

Sign in to be the first to comment.