4 ms·
Now repeat for C++.
by pskocik 11y ago
Now repeat for C++.
- rav 11y agoConsidering that a considerably large subset of C is valid C++, it should be easy to modify 8cc to be valid C++ (e.g. by replacing implicit void*-casts to explicit ones), and then you already have a "self-hosting C++ compiler", but that could be considered cheating by some...
- serge2k 11y agoExcept it won't compile anything but "C++" htat's really C code.
- copperx 11y agoI wouldn't wish that on my worst enemy.