3 ms·
"A programming language is a vocabulary and set of grammatical rules for instructing a computer or computing device to perform specific tasks." A programming l
by IncRnd 6y ago
"A programming language is a vocabulary and set of grammatical rules for instructing a computer or computing device to perform specific tasks."
A programming langauge is not inherently a programming language due to features it contains but due to it being used to program. A program is "a series of coded software instructions to control the operation of a computer or other machine."
In this way, a PDF file embodies a program that performs specific tasks. A PDF file does not contain a general purpose programming language, but it does contain the page description language of the output format that describes what is to be imaged. Then, the PDF program is given to an interpreter that displays the output.
This is the same as a simple program in turtle graphics to display a rectangle, even if no other language feature was used. In such a case, one would say that rectangle was programmed. We would not use the word program in connection with that turtle graphics program, if the rectangle description were not sent to an interpreter that displayed the rectangle.
- tonyedgecombe 6y agoBy that definition notepad is a programming language because it can open and show a text document.