3 ms·
They mention that both GCC and Clang 'suck', but I don't see alternative in the 'rocks' category.
by blackkettle 11y ago
They mention that both GCC and Clang 'suck', but I don't see alternative in the 'rocks' category.
- __s 11y agoscc, suckless C compiler, is in progress: http://git.suckless.org/scc http://git.suckless.org/scc
- userbinator 11y agoThe source reminds me of the BSD one... I'm a little surprised that the parser is a plain recursive-descent one instead of operator-precedence/precedence-climbing[1][2] since the latter definitely feels like something the Suckless philosophy would highly agree with: extremely concise and elegant. [1] https://www.engr.mun.ca/~theo/Misc/exp_parsing.htm https://www.engr.mun.ca/~theo/Misc/exp_parsing.htm [2] https://news.ycombinator.com/item?id=8558822 https://news.ycombinator.com/item?id=8558822