4 ms·
Terseness is quite a subjective thing, as I think TCC is not all that small among all the C (and C-subset) compilers that exist like Small-C; on the other hand,
by userbinator 12y ago
Terseness is quite a subjective thing, as I think TCC is not all that small among all the C (and C-subset) compilers that exist like Small-C; on the other hand, OTCC is in realm of "too terse" for me.
This one is more agreeable with my style (and I think the parser in it is amazingly concise and elegant):
https://github.com/rswier/c4/blob/master/c4.c https://github.com/rswier/c4/blob/master/c4.c
- andrewchambers 12y agoTCC packs a C compiler, assembler and linker together, So it has a large amount of functionality, even if it is no longer so tiny. The code style is really dense too. Frequently using single letter function and variable names. e.g. Outputting data into the final data segments uses functions named o() and o32().