logoalt Hacker News

fuhsnntoday at 3:17 AM2 repliesview on HN

Don't understand why you were downvoted. An untested C compiler is simply worthless.


Replies

nananana9today at 5:27 AM

The 2026 brain simply cannot comprehend recreational programming.

show 1 reply
gaigalastoday at 7:42 AM

You want to know what kinds of programs it can run, right?

Look at this one:

https://gist.github.com/alganet/1513d7b6abef5c1a53a324d897c3...

shell.c is a shell interpreter written for c89cc.sh. It can do the full self-hosting ouroboros:

- c89cc.sh can compile shell.c

- compiled shell.c via c89cc.sh can run c89cc.sh

It's not a full blown battle tested shell interpreter yet, but I'm working on it.

This file is part of the bootstrapping setup I'm working on for very early (pre tinyc) bootstrap from source in x64 machines and it is by far the most complicated program c89cc.sh can compile.

show 1 reply