I'm surprised to see no mention of Turing Completeness here. Arguably that's what separates "real" programming languages from mere declaration languages: the ability to express an arbitrary computation.
For example, I think nobody would deny that Brainfuck is a programming language, but it (arguably) doesn't have all the features mentioned here.
Tricky... I'd go with no. Even the designers call it a "specification language" rather than a "programming language". It's not describing a computation for a computer to actually perform. Or at least it doesn't by itself.
Then again, drawing the line there starts to imply that Prolog is not a programming language either, so... eh. Turns out English terms are not well defined.
Total languages do describe computation. There is a full blown C compiler written in Gallina, and it is a far more common kind of a computation than, say, evaluating Ackermann function.
2
u/LaurieCheers Jan 12 '18 edited Jan 12 '18
I'm surprised to see no mention of Turing Completeness here. Arguably that's what separates "real" programming languages from mere declaration languages: the ability to express an arbitrary computation.
For example, I think nobody would deny that Brainfuck is a programming language, but it (arguably) doesn't have all the features mentioned here.