If does follow imperative paradigms, as it does, the programming language part is essential if you want to do anything meaningful with it. If exotic task you never need in typesetting, such as multiplication, is hard to implement, something is wrong. And IMO that is why LaTeX is so odd and hackish.
Context is much better, tough.
And, by the way, the unfortunalty dead ANT uses a nice Haskell like language and is still a typesetting DSL.
http://sourceforge.net/projects/ant.berlios/ https://web.archive.org/web/20090310012257/http://ant.berlio...
Knuth: So TeX is a programming language but I had to put in those features kicking and screaming.Yes, certainly, but you said (https://news.ycombinator.com/item?id=8615643):
> TeX is not a programming language.
rather than "TeX is not intended to be a programming language." It is nit-picking to be sure, but I think that, if the creator of a language (especially one who knows his stuff as Knuth does) says that it is a programming language, then it is.
Another appeal to (a lesser) authority—the TeX Users Group (https://www.tug.org/whatis.html):
In summary, TeX is a special-purpose programming language that is the centerpiece of a typesetting system that produces publication quality mathematics (and surrounding text), available to and usable by individuals.
… and an appeal to the fact that people have written programs in it: http://stackoverflow.com/a/1931289.(P.S. To "so, is XSLT a programming language because of, say, http://www.unidex.com/turing/utm.htm ?" I say "sure, why not?" What is the point of excluding something from being a programming language?)
They are hardly programming languages.