Re:Classic computer science problems solved in JavaScript
by ComputerGuru on Saturday January 23, 2010 @12:37PM
(#1072110)
Add GoTo's to the list, and you're set :)
At the assembly level, everything is boiled down to (basically) bne, mov, and jmp.
I know you were exaggerating here, but simple conditional statements aren't actually sufficient. You need some construct that allows repetition, if only implicitly. "while" loops would be easy, but even simple function calls suffice if you have function pointers (in fact, allowing function pointers alone ought to be enough, without conditionals or even variables).
At any rate, it's the lack vs. presence of repetition constructs that makes SQL not a full general-purpose language, where XSLT actually is.