|
|
|
|
|
by tom_mellior
2447 days ago
|
|
Not sure what the parent means by it, but here is lines of code data generated using David A. Wheeler's 'SLOCCount'. SLOC Directory SLOC-by-Language (Sorted)
36270 top_dir ansic=35504,sh=460,perl=306
28825 win32 ansic=28716,asm=109
9692 tests ansic=8806,asm=858,sh=28
2395 lib ansic=2252,asm=143
158 include ansic=158
140 examples ansic=140
Totals grouped by language (dominant language first):
ansic: 75576 (97.54%)
asm: 1110 (1.43%)
sh: 488 (0.63%)
perl: 306 (0.39%)
As far as I can tell, the top-level directory is the actual compiler itself. 35k lines is pretty small for a real C compiler that can bootstrap GCC (the versions that were still written in pure C). |
|
Compare it with a few others:
8cc/9cc - 10K LOC cproc - 7K LOC lcc - 30K LOC