oriansj/stage0-posix
View on GitHub ↗ ★ 158 C
A place for public review of the posix port of stage0
17 mentions on Hacker News by 8 people: 7 stories, 10 comments · first 2019-06-24 · latest 2024-07-24
20082026
-
…Ribbit (same authors): https://github.com/udem-dlteam/ribbit stage0-posix: https://github.com/oriansj/stage0-posix Bootstrappable Builds: https://bootstrappable.org/ See also this LWN article about bootstrappable and reproducible bui
comment by wahern · 2024-07-24 · in Pnut: A C to POSIX shell compiler you can trust -
…especially their stage0 projects: https://bootstrappable.org/ https://github.com/oriansj/stage0 https://github.com/oriansj/stage0-posix/
comment by pabs3 · 2023-10-26 · in Running the "Reflections on Trusting Trust" Compiler -
…to bootstrap GCC+Guile+Linux for more than a year now. https://github.com/fosslinux/live-bootstrap https://github.com/oriansj/stage0-posix It is time for Lisp and FORTH to either deliver or learn to stop talking about something they never…
comment by pabs3 · 2022-05-03 · in A minimal C compiler in x86 assembly -
I wonder if Brainfuck could be used for https://github.com/oriansj/stage0-posix ? It would not surprise me if there is no other language for which there are so many interpreters written in so many different programming languages. It is…
comment by fjfaase · 2021-05-04 · in Bootstrapping from Hex to Bison to GCC -
…ps://github.com/fosslinux/live-bootstrap/blob/master/part... In particular, this the very first step: https://github.com/oriansj/stage0-posix/blob/master/x86/hex0... (or its hand-edited binary version ?) Edit: this how it's "assembled":…
comment by Aissen · 2021-05-04 · in Bootstrapping from Hex to Bison to GCC -
…can be built by another C compiler written in assembly, all the way down to hex instructions. https://github.com/oriansj/mescc-tools-seed/
comment by fosslinux · 2021-01-31 · in Cyclic dependencies are evil (2013) -
I'd argue the easiest to implement language is macro-assembly then the C subset known as cc_x86 https://github.com/oriansj/mescc-tools-seed
comment by z29LiTp5qUC30n · 2021-01-12 · in A Brief Introduction to Forth (1993) -
…someone who wants to know how a C compiler converts C to assembly there is no better example than: https://github.com/oriansj/mescc-tools-seed/blob/master/x86/...
comment by z29LiTp5qUC30n · 2020-06-02 · in C Internals -
You can get a proper C compiler in 2KLOC [or under 5Kloc of assembly https://github.com/oriansj/mescc-tools-seed/blob/master/x86/... | https://github.com/oriansj/mescc-tools-seed/blob/master/x86/... ] Covering things like gotos, inline…
comment by z29LiTp5qUC30n · 2020-02-27 · in Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor -
…the rest just becomes just add one more thing... It even works if you start from zero: https://github.com/oriansj/mescc-tools-seed
comment by z29LiTp5qUC30n · 2019-11-12 · in GNU Compiler Collection Internals [pdf]