3 ms·
I don't know of any credible way to implement any part of a C++ compiler with regex.
by WalterBright 13y ago
I don't know of any credible way to implement any part of a C++ compiler with regex.
- reeses 13y agoA preprocessing pass to convert those stupid trigraphs and digraphs. :)
- WalterBright 13y agoMake sure you handle all the \ line splicing in the middle of them! And keep track of the source line numbers. Naw, you'll throw regex under the bus very quickly.
- reeses 13y agoName mangling!