Quote:
Originally Posted by HomeInMyShoes
I thought Perl was mentioned by Orlok. I wouldn't call Postscript a language, it's markup for printing much like HTML is markup for a screen, although you can iterate and such so it does get interpreted which makes it a language. Would that not make ghostscript and LaTeX also a language (it has \loop and \repeat items?) I'm assuming pdurrant was meaning that you could make a Turing Machine with the language in question.
I should have gotten Logo.
|
Orlok mention PEARL. That's a different language to Perl.
Postscript is absolutely a programming language. It's a stack-based language that happens to include lots of operators related to print, but it has loops and conditionals and functions and variables and even structured objects like dictionaries. HTML is just markup. PDF files use a cut-down essentially mark-up only subset of PostScript.
Ghostscript is just a (non-Adobe) Postscript interpreter.
LaTeX is borderline. I don't know it well enough to know whether it (and the underlying TeX) has the complexity needed to be a general purpose language.