Skip to content

Comment on HTML + CSS3 is Turing completeparent

Comments

C macros are not Turing complete, they're a pushdown automaton.

C++ templates are.

Check out this IOCCC entry which does simulate a Turing machine, but only by having another script repeatedly run it.

Edit: Yes, I meant to copy the link, see mchouza's comment for the link.

Link: http://www.ioccc.org/2001/ (herrmann1 files)

Sorry, you're totally right. My bad.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.