Show HN: C-compiler to compile TCC for live-bootstrap
2 days ago
- #live-bootstrap
- #C-compiler
- #Tiny-C-Compiler
- Project aims to simplify stage0 of live-bootstrap by replacing GNU Mes compiler with a C-compiler in C for Tiny C Compiler v0.9.26.
- First stage involves implementing a C-compiler for i386, producing intermediate code in a stack-based language.
- Dependencies include stage0 executables (hex2, M1, blood-elf, catm, match, sha256sum) and standard Linux commands/GNU C compiler.
- Build and test process involves a makefile and a test.sh script for bootstrapping Tiny C Compiler.
- Second stage focuses on removing stage0 dependencies by building executables with the C-compiler.
- Includes feasibility study with minimal C preprocessor and CParser.c based on RawParser.
- Funded by NGI0 Core Fund under European Commission's Next Generation Internet programme.