Discussion
alganet/c89cc.sh
kelsey98765431: Would be a lot better if it came with tests. Please do this justice and dont let it rot as a gist, make a real repo and add some docs and at least smoke tests or some kind. Thanks
dmitrygr: Many parts of this are clearly autogenerated, but that in no way diminishes the sickening impressiveness of it!
gaigalas: Single standalone file, no external tools used, PATH='' (empty), portable (bash, dash, ksh, zsh), produces x86 ELF executables, has mini-libc builtin.Usage:printf 'int main(){puts("hello");return 0;}' | sh c89cc.sh > hellochmod +x hello./hello
angry_octet: I can't think of a reason to use c89cc.sh, but I salute this effort nonetheless.