Re:SVG: The Good, the Bad and the Ugly
by cpill on Friday February 12, 2021 @12:23PM
(#26116050)
what's wrong with BNF? as a language descriptor it's simple and concise, isn't it?
[ Parent
| on HN ]
Context free grammars are insidious to use in general. The natural way to use them is to either generate all/random legal strings or check if a string matches the grammar.
Often what you want is instead to generate an AST, in that case you will run into ambiguosness problems.
Re:SVG: The Good, the Bad and the Ugly
by ChrisMarshallNY on Friday February 12, 2021 @12:41PM
(#26116264)
It's a great data description language, but was NOT fun to work with, semantically.