News for hackers. Stuff that matters.
Re:Surprisingly Turing-Complete by davidgerard on Friday October 02, 2015 @07:22PM (#10321903)
Wikipedia's template language was not intended to be Turing-complete.

Then, through some hideous contortions of the syntax, someone managed to construct an "if" statement.

This caused so much CPU load they implemented it as a function.

And then it evolved into a horrifying accidental DSL, ParserFunctions.

They're now trying to rewrite all those clever templates in Lua, having given up avoiding Turing-completeness ...

The curse of Turing-completeness is: if you have it, you will soon have to use it.

There are no comments on this comment yet.