I would loudly go on the record for my reasoning that Hypertext Markup Language is not Turing Complete, and therefore fails to be a programming language by the only academic and theoretical definition that matters.
They already are going to award me “lawyer up” money, so I’ll come after them for damages later if B is the "right’ answer.
I can write a .ini code where a value of a key is a binary that the interpreter runs. Are ini files a programming language? Hell no, and neither is html.
Is R a compiled programming language because several of its built in functions run compiled C code? No.
The point in that case would be that while not intended it could be used as a programming language. The R example seems unrelated. Every language must run compiled code at one point or else the CPU wouldn’t know what to do.
I would loudly go on the record for my reasoning that Hypertext Markup Language is not Turing Complete, and therefore fails to be a programming language by the only academic and theoretical definition that matters.
They already are going to award me “lawyer up” money, so I’ll come after them for damages later if B is the "right’ answer.
wrong again! CSS is turing complete, and HTML can include inline CSS, so you can implement a Turing machine in HTML only (without external .js files)
It can also include inline JS. HTML alone cannot be turing complete, but HTML+CSS is.
CSS can be included as a style property without requiring the script/style tag though.
Those are still two different languages. HTML isn’t an umbrella term for HTML+CSS in any form.
I can write a .ini code where a value of a key is a binary that the interpreter runs. Are ini files a programming language? Hell no, and neither is html.
Is R a compiled programming language because several of its built in functions run compiled C code? No.
The point in that case would be that while not intended it could be used as a programming language. The R example seems unrelated. Every language must run compiled code at one point or else the CPU wouldn’t know what to do.
Same goes for JS, for example the onclick attribute.
Very good point, I forgot that was an option.