Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think c4 (a C compiler in four functions, hence the name) is pretty neat.

https://github.com/rswier/c4/blob/master/c4.c



That's my choice too. It's a C-subset, but more than a compiler; it includes a bytecode VM interpreter too. The best part about it is that it's tiny, yet very readable for its size and functionality.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: