[Haskell-cafe] Haskell SVG path parser?

Henning Thielemann lemming at henning-thielemann.de
Mon May 24 10:43:19 EDT 2010


On Mon, 24 May 2010, Dimitry Golubovsky wrote:

> Does there exist any Haskell package/library to parse the syntax of
> SVG elements, esp. PATH?
>
> That is, the syntax of the "d" attribute (e. g. M 100 100 L 300 100 L
> 200 300 z)?
>
> Hackage doesn't seem to have any, and Google search yields very broad results.

Once I wrote such a function in order to convert an SVG path to PDF. See 
parsePath in
   http://code.haskell.org/~thielema/internetmarke/src/Main.hs


More information about the Haskell-Cafe mailing list