logoalt Hacker News

HexDecOctBin • today at 8:34 AM • 2 replies • view on HN

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).


Replies

camel-cdr • today at 11:44 AM

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.

0c3ca83 • today at 10:26 AM

C++ started as a preprocessor.

➕ show 2 replies