View Single Post
Old 7th November 2014
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

Quote:
HTML is not a programming language, it is a markup language, like xml or tex, it
has no programmatic features.
TeX has variables, upon which simple arithemetic operations can be performed, it has conditional tests, and looping ... are these not programmatic features? In fact, on page 217 of the TeXbook the author says
Quote:
Originally Posted by Donald Knuth
Let's close this chapter by presenting a few simple examples that show how TeX can actually be used as a primitive programming language, ...
Now, that's not to say that if I had to calculate pi to a zillion digits, that TeX would be the language of choice to do it, though it sure would make the answer look nice.
Reply With Quote