3 ms·
>> PDFs technically are code > PDF is code only in the same sense as HTML is. Wrong comparison. PDF is code only in the same sense as LaTeX is. PDF is based o
by dozzie 8y ago
>> PDFs technically are code
> PDF is code only in the same sense as HTML is.
Wrong comparison. PDF is code only in the same sense as LaTeX is. PDF is based
on PostScript, just as LaTeX is a set of macros on top of TeX, and we all know
TeX and PostScript are programming languages and are Turing complete (look
for a web server written in PostScript).
- jwilk 8y agoPostScript is indeed a Turing-complete language. It's a common misconception that PDF is an extension of PostScript. PDF is only loosely based on PostScript. In particular, it doesn't support any control flow, like conditions or loops. It is not a programming language, unless you count embedded JavaScript.