Re: c macros -- turing complete?
- From: Frank Buss <fb@xxxxxxxxxxxxx>
- Date: Sun, 29 Oct 2006 16:02:40 +0100
Alex Mizrahi wrote:
i suspect C preprocessor is turing-complete. you can get recursion/looping
via include, and change some state.
here's a link:
http://www.ioccc.org/2001/herrmann1.hint
Nice link. If you read this page you can see that the C preprocessor is not
turing-complete, if you don't use additional external programs, like the
build script used on the page, which feeds the output as new input to the
preprocessor, until the output doesn't change anymore.
--
Frank Buss, fb@xxxxxxxxxxxxx
http://www.frank-buss.de, http://www.it4-systems.de
.
- References:
- c macros -- turing complete?
- From: Jimka
- Re: c macros -- turing complete?
- From: Alex Mizrahi
- c macros -- turing complete?
- Prev by Date: Re: c macros -- turing complete?
- Next by Date: Re: logo design
- Previous by thread: Re: c macros -- turing complete?
- Next by thread: Re: c macros -- turing complete?
- Index(es):