4 ms·
Is there a C compiler written in Python that aims for maximum readability rather than trying to get as much done under X lines of code?
by kaycebasques 3y ago
Is there a C compiler written in Python that aims for maximum readability rather than trying to get as much done under X lines of code?
- muth02446 3y agoNot quite a C compiler but arguably better: http://cwerg.org http://cwerg.org
- vgel 3y agoI think the code is fairly readable! It's formatted with Black (and therefore limited to reasonable line lengths) and well-commented. IMO, being under X lines of code is part of the readability—10,000 lines of code is hard to approach no matter how readable it otherwise is.