News for hackers. Stuff that matters.
Re:Programming Language Popularity on GitHub and Stack Overflow by xymostech on Saturday May 17, 2014 @09:56AM (#7760127)
Interestingly, PDFs actually do contain an embedded programming language in them, a subset of PostScript. [1] PostScript, meanwhile, is actually Turing complete with conditionals and loop structures inside of it. [2] I'd argue that makes PDFs a whole lot more programming language-y than CSS or XML.

[1]: http://en.wikipedia.org/wiki/PDF#Technical_foundations

[2]: http://en.wikipedia.org/wiki/PostScript#The_language

Re:Programming Language Popularity on GitHub and Stack Overflow by userbinator on Saturday May 17, 2014 @10:31AM (#7760211)
"PDFscript" (as I like to call it) is not Turing complete. It's more similar to SVG in terms of capability. From the PDF spec:

"To simplify the processing of content streams, PDF does not include common programming language features such as procedures, variable, and control constructs."