DEV Community

Discussion on: So, how many of you respect CSS as a programming language?

Collapse
 
ajxn profile image
Anders Jackson

About the first definition about formal language.

Not all languages are computer languages, even if they fall in that definition like HTML or regular expressions. Nor is grammar like LR(1) or LL(n) grammars, even if they can be used to define grammar of programming languages.
You see, DFA and grammars are important tools to make usable programming languages.
And all languages doesn't need to be abel to be described with DFA and with grammars. Like FORTRAN IV.

DFA and grammars and HTML and CSS are still not part of the sub group of languages that is programming languages.