c89cc.sh - standalone C89/ELF64 compiler in pure portable shell

6 points by olliej


We have tags for all sorts of languages, but nothing for shell? :D

dzwdz

Summarizing the HN thread:


idk, this just echoes the Rust compiler in PHP for me. a few years ago i would've thought this is a really cool project. not because it's in any way practical, but because it's a show of skill in an obscure language and dedication. you gotta be crazy (in a good way) to work on something like this, and i admire that

if you automate "the boring, mechanical work"... well, that kinda feels like automating the point of it away, doesn't it.

i'd be happy to hear about the shell portability tricks, the bnf-to-shell compiler sounds interesting, but instead i've got 8000 lines of shell that the author couldn't even be bothered to write

"i did $COMPLICATED_THING in $SILLY_ENVIRONMENT" just doesn't really have its punch nowadays, i guess