Re:SVG: The Good, the Bad and the Ugly
by wtetzner on Friday February 12, 2021 @01:39PM
(#26116919)
Except that's not what happened. They also had to define new syntax for the DSLs they embed in strings.
[ Parent
| on HN ]
Re:SVG: The Good, the Bad and the Ugly
by pwdisswordfish6 on Friday February 12, 2021 @01:47PM
(#26117005)
True. But it would have been much harder if they had to define a syntax for the entire document.
I imagine they thought that the path DSL is simple enough to parse (and I seem to vaguely recall PostScript has something similar), while the overhead of representing path nodes as XML elements would be too high.