Comment by HexDecOctBin
19 hours ago
Has anyone tried to extend the C Preprocessor to be a fully turing complete language (perhaps something like Snobol) to allow for Terra like meta-programming?
(I am not talking about metalang99 or Cello like stuff, which exploits the Turing tarpit of the currently specified preprocessor but rather tasteful additions to the preprocessor itself).
C++ started as a preprocessor.
but not the C preprocessor, but a completely different preprocessor.
So did Objective-C
We’ll get there in this series.
The C preprocessor is practically turing complete, in the same sense that C it self or your computer is practially turing complete, but not strictly.