3 ms·
"CSS is now a programming language. XML is now a programming language." Seconded. Could we please stop call CSS a language. If not, add PDF to the list.
by toppy 12y ago
"CSS is now a programming language.
XML is now a programming language."
Seconded. Could we please stop call CSS a language. If not, add PDF to the list.
- peteretep 12y ago> Could we please stop call CSS a language If you're going to be pedantic, be pedantic right. CSS is indeed a language, even if it's arguably[1] not a programming one. [1] http://stackoverflow.com/questions/2497146/is-css-turing-complete http://stackoverflow.com/questions/2497146/is-css-turing-com...
- xymostech 12y agoInterestingly, 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 http://en.wikipedia.org/wiki/PDF#Technical_foundations [2]: http://en.wikipedia.org/wiki/PostScript#The_language http://en.wikipedia.org/wiki/PostScript#The_language
- userbinator 12y ago"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."