ludocode/onramp
View on GitHub ↗ ★ 230 C
A portable self-bootstrapping C compiler
8 mentions on Hacker News by 3 people: 0 stories, 8 comments · first 2024-03-30 · latest 2026-04-03
20082026
-
…love seeing projects like this and I'm glad to see more people taking bootstrapping seriously. [1]: https://github.com/ludocode/onramp/blob/develop/platform/vm/... [2]: https://github.com/ludocode/onramp/blob/develop/platform/vm/... [3]:…
comment by ludocode · 2026-04-03 · in C89cc.sh – standalone C89/ELF64 compiler in pure portable shell -
…VM to base compiler and shell on, it's extra steps, but could be more flexible long term. [1] https://github.com/ludocode/onramp
comment by fuhsnn · 2026-04-03 · in C89cc.sh – standalone C89/ELF64 compiler in pure portable shell -
You may enjoy https://github.com/ludocode/onramp
comment by tekknolagi · 2026-02-07 · in SectorC: A C Compiler in 512 bytes (2023) -
…C2y defer (which is a superset), slimcc[3] supports both. [1] https://godbolt.org/z/hvj9vcncG [2] https://github.com/ludocode/onramp [3] https://github.com/fuhsnn/slimcc
comment by fuhsnn · 2025-11-18 · in Giving C a superpower: custom header file (safe_c.h) -
…and my own slimcc[3]! [1] https://patchwork.ozlabs.org/project/gcc/list/?series=470822 [2] https://github.com/ludocode/onramp [3] https://github.com/fuhsnn/slimcc
comment by fuhsnn · 2025-10-01 · in Defer: Resource cleanup in C with GCCs magic -
…including the FNV-1a hash function. There's no reason to ever linear search a symbol table. [1]: https://github.com/ludocode/onramp/blob/develop/core/ld/0-gl...
comment by ludocode · 2025-09-03 · in Writing a C compiler in 500 lines of Python (2023) -
…There are no black boxes here: it's all debuggable, auditable, open, handwritten source code. [0]: https://github.com/ludocode/onramp?tab=readme-ov-file#why-bo... [1]: https://en.wikipedia.org/wiki/Arctic_World_Archive
comment by ludocode · 2024-08-26 · in Writing a Rust compiler in C -
…bootstrap C even if their computer architectures can't run any binaries from the present day. https://github.com/ludocode/onramp It's nowhere near done but I'm starting a new job soon so I felt like I needed to publish what I have. It does…
comment by ludocode · 2024-03-30 · in The Ken Thompson Hack