A parser for SVG's path syntax