Re:SVG: The Good, the Bad and the Ugly
by afiori on Saturday February 13, 2021 @04:30PM
(#26127126)
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.
Often what you want is instead to generate an AST, in that case you will run into ambiguosness problems.