Re:Grammars for Programming Languages (2018)
by Lutger on Tuesday January 21, 2020 @03:34AM
(#22105234)
It isn't immediately obvious that it is, to me. Could you expand on that?
For example, what works for html is basically the dom (data structure) and its functionality (the functions). There are others ways of creating and working with those than the specific html syntax. For example, haml. Or you might say, jsx, or elm,is also such a syntax for the same data structures.
These other approaches work perfectly fine, too.
Re:Grammars for Programming Languages (2018)
by celeritascelery on Tuesday January 21, 2020 @09:23AM
(#22107071)
Touché. I understand better what your saying. But even though the syntax changes, we always have some specialized syntax for using it. But it does make it seem like the data is more important since that is what stays the same.
I don’t know, thinking of some DSL’s like HTML or SQL, syntax seems to be a really big part it.